summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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" ]