summaryrefslogtreecommitdiff
path: root/lbu.in
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-11-05 23:54:41 +0100
committerJakub Jirutka <jakub@jirutka.cz>2022-11-05 23:54:41 +0100
commit3da4ed314aeebd403410deaf189d5921cc654c6c (patch)
treefbd9a67dd71c0291b39513fd06a2030681a2fa78 /lbu.in
parent3114f2ed9b1cffe25a0d48d8ee8b64445e1688f4 (diff)
downloadalpine-conf-3da4ed314aeebd403410deaf189d5921cc654c6c.zip
lbu: fix 'trap' compatibility with dash
trap: SIGINT: bad trap
Diffstat (limited to 'lbu.in')
-rw-r--r--lbu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbu.in b/lbu.in
index ea69835..4f7feb4 100644
--- a/lbu.in
+++ b/lbu.in
@@ -783,7 +783,7 @@ while getopts "adehlM:np:qrv" opt ; do
done
shift $(expr $OPTIND - 1)
-trap exit_clean SIGINT SIGTERM
+trap exit_clean INT TERM
cmd_$SUBCMD "$@"
retcode=$?