summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 01:39:58 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 01:39:58 (EDT)
commitf3f4e20b6577085320967a20abeb728226d6cfad (patch)
treec0b7673ed8c5d320b442e5be7e7cff2d2894ecbd /src
parentac09c8515846ce142d7264be653efd845f2008e0 (diff)
_handle_sig(): Fix exits
Diffstat (limited to 'src')
-rw-r--r--src/main.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.sh b/src/main.sh
index 5998e9c..3b10ef7 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -63,9 +63,9 @@ _handle_sig()
_unlock
if [ "x${exit_status:+set}" = 'xset' ]; then
- exit -- ${exit_status}
+ exit ${exit_status}
else
- exit -- $((128 + ${sig}))
+ exit $((128 + ${sig}))
fi
}