From: Michael Tremer Date: Fri, 21 Oct 2011 16:34:15 +0000 (+0200) Subject: Try to kill orphans more aggressively when the do not stop within 3 secs. X-Git-Tag: 0.9.17~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7814c06d4d6365a926645410b3d8cceccab08b57;p=pakfire.git Try to kill orphans more aggressively when the do not stop within 3 secs. --- 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.