From 7814c06d4d6365a926645410b3d8cceccab08b57 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 21 Oct 2011 18:34:15 +0200 Subject: [PATCH] Try to kill orphans more aggressively when the do not stop within 3 secs. --- python/pakfire/util.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/pakfire/util.py b/python/pakfire/util.py index 638b72e3a..3492253f7 100644 --- a/python/pakfire/util.py +++ b/python/pakfire/util.py @@ -271,6 +271,9 @@ def orphans_kill(root, killsig=signal.SIGTERM): logging.warning(_("Waiting for processes to terminate...")) time.sleep(3) + # Calling ourself again to make sure all processes were killed. + orphans_kill(root, killsig=killsig) + def scriptlet_interpreter(scriptlet): """ This function returns the interpreter of a scriptlet. -- 2.39.5