diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-12-12 00:51:50 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-12-12 00:51:50 +0000 |
commit | 9578e499f03597e07652757c9e2c8e97be71df2f (patch) | |
tree | b1752f253531132ed529b80171e647d6faed85ad | |
parent | 1f684c50cb09c6d2ebfc61b2c7ec42d978c402c6 (diff) | |
download | portage-9578e499f03597e07652757c9e2c8e97be71df2f.tar.gz portage-9578e499f03597e07652757c9e2c8e97be71df2f.tar.bz2 portage-9578e499f03597e07652757c9e2c8e97be71df2f.zip |
Fix incorrect usage of trap (only remove on signal at a time).
svn path=/main/trunk/; revision=12210
-rwxr-xr-x | bin/etc-update | 3 |
1 files changed, 2 insertions, 1 deletions
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}" |