commit:     8f7472881dff656d1505e693318478c258b8406e
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  2 13:40:50 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Jul  2 13:40:50 2015 +0000
URL:        https://gitweb.gentoo.org/proj/grs.git/commit/?id=8f747288

Remove traps for scripts, let cgroup take care of it.

 scripts/passwd.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/scripts/passwd.sh b/scripts/passwd.sh
index 8bbbbbb..03dcc0f 100644
--- a/scripts/passwd.sh
+++ b/scripts/passwd.sh
@@ -1,10 +1,5 @@
 #!/bin/bash -e
 
-trap "kill -9 $$" SIGTERM
-trap "kill -9 $$" SIGHUP
-trap "kill -9 $$" SIGKILL
-trap "kill -9 $$" SIGINT
-
 echo root:root | chpasswd
 
 useradd -m gentoo

Reply via email to