xend: suppress errors during capabilities check
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 17 May 2010 09:56:36 +0000 (10:56 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 17 May 2010 09:56:36 +0000 (10:56 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/hotplug/Linux/init.d/xend

index 90c2beabf9d1b32c18a28d001ae0376f342b3747..40160047900fe738500171d632d6f7b88e212612 100755 (executable)
@@ -31,7 +31,7 @@ then
        mount -t xenfs xenfs /proc/xen
 fi
 
-if ! grep -q "control_d" /proc/xen/capabilities ; then
+if ! grep -qs "control_d" /proc/xen/capabilities ; then
        exit 0
 fi