On 03/07/2010 01:52 PM, Luca Berra wrote:
Signed-off-by: Luca Berra <[email protected]>
---
modules.d/60xen/check | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules.d/60xen/check b/modules.d/60xen/check
index 420cdc2..f155582 100755
--- a/modules.d/60xen/check
+++ b/modules.d/60xen/check
@@ -1,7 +1,7 @@
#!/bin/bash

# No Xen-detect? Boo!!
-XENDETECT=$(which xen-detect)
+XENDETECT=$(which xen-detect 2>/dev/null)
[ -z "$XENDETECT" ] && [ -d "/usr/lib/xen-default" ] &&
XENDETECT="/usr/lib/xen-default/bin/xen-detect"
[ -z "$XENDETECT" ] && exit 1


pushed
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to