From: Chris Lamb Date: Wed, 26 Mar 2008 07:52:09 +0000 (+0000) Subject: bin/live-snapshot: Fix argument handling (Closes: #461595) X-Git-Tag: debian/2.0.15-1~578 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=b66ccf2b0c2488e93d00cc1a204b1bc5902ddc2c;hp=f9df46ac956501647ceb278f33979f6660df4507;p=live-boot-grml.git bin/live-snapshot: Fix argument handling (Closes: #461595) --- diff --git a/bin/live-snapshot b/bin/live-snapshot index 5135ce3..8a05500 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -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" ]