Fix incorrect usage of trap (only remove on signal at a time). (trunk r12210)
authorZac Medico <zmedico@gentoo.org>
Fri, 12 Dec 2008 21:50:00 +0000 (21:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 12 Dec 2008 21:50:00 +0000 (21:50 -0000)
svn path=/main/branches/2.1.6/; revision=12241

bin/etc-update

index 35456525dac7c938bd6d756675219dd1d18c20b9..d84907cb779b72817bfac0f8e772ddf694a851e6 100755 (executable)
@@ -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}"