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

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}"