From b66ccf2b0c2488e93d00cc1a204b1bc5902ddc2c Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 26 Mar 2008 07:52:09 +0000 Subject: [PATCH] bin/live-snapshot: Fix argument handling (Closes: #461595) --- bin/live-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ] -- 2.1.4