From 5d725dbb532ace3502df23102b73e55eac9cb721 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 12 Dec 2008 21:50:00 +0000 Subject: Fix incorrect usage of trap (only remove on signal at a time). (trunk r12210) svn path=/main/branches/2.1.6/; revision=12241 --- bin/etc-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/etc-update') diff --git a/bin/etc-update b/bin/etc-update index 35456525d..d84907cb7 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -446,7 +446,8 @@ Please select from the menu above (-1 to exit, losing this merge): " } die() { - trap SIGTERM SIGINT + trap SIGTERM + trap SIGINT if [ "$2" -eq 0 ]; then echo "Exiting: ${1}" -- cgit v1.2.3-1-g7c22