diff options
author | Olaf Hering <olaf@aepfle.de> | 2010-07-26 11:29:11 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2010-07-26 11:29:11 +0100 |
commit | 42b7a80b010e1b0270d5732d963241dfb3beeaf7 (patch) | |
tree | a608b7751b81d687084f1f501983adddc0f17091 /tools/hotplug | |
parent | 2369c119530abde03e9195e7f22cf2b401e31f31 (diff) | |
download | xen-42b7a80b010e1b0270d5732d963241dfb3beeaf7.tar.gz xen-42b7a80b010e1b0270d5732d963241dfb3beeaf7.tar.bz2 xen-42b7a80b010e1b0270d5732d963241dfb3beeaf7.zip |
# HG changeset patch
# User Olaf Hering <olaf@aepfle.de>
# Date 1280140115 -3600
# Node ID 8c3e1e8ddd599371d882b17996be88b545119ccb
# Parent 2092c06f9467747da608c448ddd01e2f1f82290a
tools/hotplug: init.d should test for /proc/xen/capabilities being a file
Correct test for /proc/xen/capabilities
It is a file, not a directory.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/hotplug')
-rw-r--r-- | tools/hotplug/Linux/init.d/xencommons | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hotplug/Linux/init.d/xencommons b/tools/hotplug/Linux/init.d/xencommons index 874db88e47..40b7cbe94b 100644 --- a/tools/hotplug/Linux/init.d/xencommons +++ b/tools/hotplug/Linux/init.d/xencommons @@ -25,7 +25,7 @@ shopt -s extglob if test "x$1" = xstart && \ test -d /proc/xen && \ - ! test -d /proc/xen/capabilities && \ + ! test -f /proc/xen/capabilities && \ ! grep '^xenfs ' /proc/mounts >/dev/null; then mount -t xenfs xenfs /proc/xen |