diff options
Diffstat (limited to 'src/session.sh')
-rw-r--r-- | src/session.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.sh b/src/session.sh index 2ddf6ff..61211a4 100644 --- a/src/session.sh +++ b/src/session.sh @@ -196,7 +196,7 @@ session_set_sigs() i=0 session_sigs='' while [ ${i} -lt 127 ]; do - i=$(($i + 1)) + i=$((${i} + 1)) sig="$(kill -l ${i} 2>/dev/null)" || continue case "${sig}" in 'HUP' | 'INT' | 'QUIT' | 'ABRT' | 'ALRM' | 'TERM') @@ -213,5 +213,5 @@ session_handle_sig() session_end - exit $((128 + $sig)) + exit $((128 + ${sig})) } |