cgroup: use SIGKILL to guarantee killing processes.
authorMichał Górny <mgorny@gentoo.org>
Mon, 19 Aug 2013 09:37:01 +0000 (11:37 +0200)
committerZac Medico <zmedico@gentoo.org>
Mon, 19 Aug 2013 09:37:52 +0000 (02:37 -0700)
pym/_emerge/SpawnProcess.py

index 60bd3f1c95fa9832c89fb739dfc7f256271920ba..061770db1ae6d445b4b1bddace893efdcfe99cda 100644 (file)
@@ -205,7 +205,7 @@ class SpawnProcess(SubProcess):
                        # step 1: kill all orphans
                        pids = get_pids(self.cgroup)
                        if pids:
-                               kill_all(pids, signal.SIGTERM)
+                               kill_all(pids, signal.SIGKILL)
 
                        # step 2: remove the cgroup
                        try: