From 316ee24a33b7d328c6a75f0a8b812668d1dbbbbf Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 25 Apr 2019 22:17:16 -0400 Subject: src/session.sh: Shift function arguments --- 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 -- cgit v0.9.1