Changeset 2649

Show
Ignore:
Timestamp:
01/03/08 15:18:30 (1 year ago)
Author:
dhozac
Message:

Make vmount <guest> -- -a work.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/scripts/vmount

    r2632 r2649  
    3131$"Usage: $0 <vserver-name> -- [-o options] [--bind|--rbind] 
    3232         [-t <type>] [-a] [-n] [--move] 
    33          <source> <destination> 
     33         [<source> [<destination>]] 
    3434 
    3535<source>       ...  what to mount, this is relative to the host's root 
     
    8787done 
    8888 
    89 case "$1" in 
    90     (/*)      ;; 
     89case "x$1" in 
     90    (x/*|x)   ;; 
    9191    (*)         panic $"vmount: the source must be an absolute path";; 
    9292esac