From: Zac Medico Date: Fri, 12 Dec 2008 00:51:50 +0000 (-0000) Subject: Fix incorrect usage of trap (only remove on signal at a time). X-Git-Tag: v2.2_rc18~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9578e499f03597e07652757c9e2c8e97be71df2f;p=portage.git Fix incorrect usage of trap (only remove on signal at a time). svn path=/main/trunk/; revision=12210 --- 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}"