summaryrefslogtreecommitdiffstats
path: root/src/main.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.sh')
-rw-r--r--src/main.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.sh b/src/main.sh
index f804243..ee45e0f 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -71,7 +71,7 @@ main()
exit 1
else
cmd="${1}"
- shift
+ shift 1
fi
run_cmd "${cmd}" "${@}"
@@ -176,6 +176,7 @@ unlock()
handle_sig()
{
local sig="${1}"
+ shift 1
unlock