summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-12 21:50:00 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-12 21:50:00 +0000
commit5d725dbb532ace3502df23102b73e55eac9cb721 (patch)
treee4b6eb8a334ad5d878f19bdaf8a845d02e42a6eb /bin
parent47d546c2bae23976d39caf7f0831012b0697f018 (diff)
downloadportage-5d725dbb532ace3502df23102b73e55eac9cb721.tar.gz
portage-5d725dbb532ace3502df23102b73e55eac9cb721.tar.bz2
portage-5d725dbb532ace3502df23102b73e55eac9cb721.zip
Fix incorrect usage of trap (only remove on signal at a time). (trunk r12210)
svn path=/main/branches/2.1.6/; revision=12241
Diffstat (limited to 'bin')
-rwxr-xr-xbin/etc-update3
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}"