[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] # HG changeset patch
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1280140151 -3600 # Node ID 92e02df7ef7e6003d005a5ec572e804a5c4114b9 # Parent 2092c06f9467747da608c448ddd01e2f1f82290a # HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # 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@xxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/hotplug/Linux/init.d/xencommons | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 2092c06f9467 -r 92e02df7ef7e tools/hotplug/Linux/init.d/xencommons --- a/tools/hotplug/Linux/init.d/xencommons Mon Jul 26 11:24:51 2010 +0100 +++ b/tools/hotplug/Linux/init.d/xencommons Mon Jul 26 11:29:11 2010 +0100 @@ -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 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |