From 900a21db724f942591d378278a45fa934e440c2e Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 4 Sep 2012 19:24:01 +0200 Subject: [PATCH] dom0/init.d: hide some missleading error --- dom0/init.d/qubes_core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/init.d/qubes_core b/dom0/init.d/qubes_core index 81e035ed..1da7e867 100755 --- a/dom0/init.d/qubes_core +++ b/dom0/init.d/qubes_core @@ -40,7 +40,7 @@ start() /usr/lib/qubes/block_cleaner_daemon.py > /var/log/qubes/block_cleaner.log 2>&1 & # Hide mounted devices from qubes-block list (at first udev run, only / is mounted) - for dev in `xenstore-list /local/domain/0/qubes-block-devices`; do + for dev in `xenstore-list /local/domain/0/qubes-block-devices 2> /dev/null`; do ( eval `udevadm info -q property -n $dev|sed -e 's/\([^=]*\)=\(.*\)/export \1="\2"/'`; /usr/lib/qubes/block_add_change > /dev/null )