summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-13 04:21:01 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-13 04:21:01 +0000
commitd412a96bfda5b4c124db341e0cf3ea14b5204d7c (patch)
tree629968cdbd4aaf8660e3f762e402473a2e7975a5
parentadfa7f9e90875400d9030b97d8159a16829c5a62 (diff)
downloadportage-d412a96bfda5b4c124db341e0cf3ea14b5204d7c.tar.gz
portage-d412a96bfda5b4c124db341e0cf3ea14b5204d7c.tar.bz2
portage-d412a96bfda5b4c124db341e0cf3ea14b5204d7c.zip
Fix signal handling for bug #96331. Thanks to S. Caglar Onur <caglar@pardus.org.tr> for this patch.
svn path=/main/trunk/; revision=3505
-rwxr-xr-xbin/etc-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/etc-update b/bin/etc-update
index aa919ee72..2d523099b 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -353,8 +353,8 @@ Please select from the menu above (-1 to exit, losing this merge): "
}
function die() {
- trap "" term
- trap "" kill
+ trap "" TERM
+ trap "" KILL
echo "Exiting: ${1}"
rm -rf ${TMP}
exit ${2}