summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 22:17:16 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 22:17:16 (EDT)
commit316ee24a33b7d328c6a75f0a8b812668d1dbbbbf (patch)
treec7d278833fe605182c9f84cfe89d503f0f4c9e52
parent83b0f0b3a05323dfb906ecf915f979d01bc2f2c3 (diff)
src/session.sh: Shift function arguments
-rw-r--r--src/session.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.sh b/src/session.sh
index fc4d26c..46d1885 100644
--- a/src/session.sh
+++ b/src/session.sh
@@ -32,6 +32,7 @@ session_begin()
local mountdir="${2}"
local atexit="${3}"
local installing="${4}"
+ shift 4
rand
session_id=${rand_x}
@@ -210,6 +211,7 @@ session_set_sigs()
session_handle_sig()
{
local sig="${1}"
+ shift 1
session_end