public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r12241 - main/branches/2.1.6/bin
@ 2008-12-12 21:50 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-12-12 21:50 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-12-12 21:50:00 +0000 (Fri, 12 Dec 2008)
New Revision: 12241

Modified:
   main/branches/2.1.6/bin/etc-update
Log:
Fix incorrect usage of trap (only remove on signal at a time). (trunk r12210)

Modified: main/branches/2.1.6/bin/etc-update
===================================================================
--- main/branches/2.1.6/bin/etc-update	2008-12-12 21:49:20 UTC (rev 12240)
+++ main/branches/2.1.6/bin/etc-update	2008-12-12 21:50:00 UTC (rev 12241)
@@ -446,7 +446,8 @@
 }
 
 die() {
-	trap SIGTERM SIGINT
+	trap SIGTERM
+	trap SIGINT
 
 	if [ "$2" -eq 0 ]; then
 		echo "Exiting: ${1}"




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-12 21:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-12 21:50 [gentoo-commits] portage r12241 - main/branches/2.1.6/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox