From 4a62cbb221f2ddbf9726845456a6e9aa0b3c3863 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 3 Jan 2008 14:18:30 +0000 Subject: [PATCH] Make vmount -- -a work. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2649 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vmount | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/vmount b/scripts/vmount index 0afe144..63741f6 100755 --- a/scripts/vmount +++ b/scripts/vmount @@ -30,7 +30,7 @@ function showHelp() echo \ $"Usage: $0 -- [-o options] [--bind|--rbind] [-t ] [-a] [-n] [--move] - + [ []] ... what to mount, this is relative to the host's root ... where to mount it, this is relative to the guest's root @@ -86,8 +86,8 @@ while true; do shift done -case "$1" in - (/*) ;; +case "x$1" in + (x/*|x) ;; (*) panic $"vmount: the source must be an absolute path";; esac -- 1.8.1.5