summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-03-26 07:52:09 +0000
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:47:58 +0100
commitb66ccf2b0c2488e93d00cc1a204b1bc5902ddc2c (patch)
tree0aa715e68e6fb76fe1bbc0b30e2d33ca8ce41ed3
parentf9df46ac956501647ceb278f33979f6660df4507 (diff)
downloadlive-boot-b66ccf2b0c2488e93d00cc1a204b1bc5902ddc2c.tar.gz
live-boot-b66ccf2b0c2488e93d00cc1a204b1bc5902ddc2c.zip
bin/live-snapshot: Fix argument handling (Closes: #461595)
-rwxr-xr-xbin/live-snapshot2
1 files changed, 1 insertions, 1 deletions
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" ]