bin/live-snapshot: Fix argument handling (Closes: #461595)
authorChris Lamb <chris@chris-lamb.co.uk>
Wed, 26 Mar 2008 07:52:09 +0000 (07:52 +0000)
committerChris Lamb <chris@chris-lamb.co.uk>
Wed, 26 Mar 2008 07:52:09 +0000 (07:52 +0000)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
bin/live-snapshot

index 5135ce3..8a05500 100755 (executable)
@@ -181,7 +181,7 @@ Is_same_mount ()
 Parse_args ()
 {
        # Parse command line
-       ARGS="${1}"
+       ARGS="${*}"
        ARGUMENTS="$(getopt --longoptions cow:,device:,output,resync-string:,type:,help,usage,version --name=${PROGRAM} --options c:d:o:t:r:,h,u,v --shell sh -- ${ARGS})"
 
        if [ "${?}" != "0" ]