summaryrefslogtreecommitdiffstats
path: root/src/main.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-11 18:15:41 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-11 18:15:41 (EDT)
commitf79dea0f5e1b89488d73bfb0360e651b8d578e15 (patch)
tree682bacab015acd1175f57b7bcbc8b65e4cb02ba5 /src/main.sh
parentd19eb991c6cf206dba7a9ecc0732c4ab5e7b4f85 (diff)
Consistently shift function arguments
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