summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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