From 8ef477c3089bd8b85fd743db5e735b3a0d56f704 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 17 Jan 2016 16:15:27 -0500 Subject: session_handle_sig(): Drop ${exit_status} handling This is an artifact from error() setting exit_status and sending SIGINT. --- diff --git a/src/session.sh b/src/session.sh index 0728080..5390cf3 100644 --- a/src/session.sh +++ b/src/session.sh @@ -207,9 +207,5 @@ session_handle_sig() session_end - if [ "x${exit_status:+set}" = 'xset' ]; then - exit ${exit_status} - else - exit $((128 + $sig)) - fi + exit $((128 + $sig)) } -- cgit v0.9.1