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)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:47:58 +0000 (17:47 +0100)
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" ]