[PATCH 06/17] Clear the list of watched PIDs before exiting.
David Shea
dshea at redhat.com
Sun Sep 21 19:36:58 UTC 2014
If we're rebooting, X or metacity exiting could throw an exception while
everything shuts down, and we don't want that.
---
anaconda | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/anaconda b/anaconda
index 734dbff..e91ddca 100755
--- a/anaconda
+++ b/anaconda
@@ -120,6 +120,10 @@ def start_watched_pid(proc_name):
return childpid
def exitHandler(rebootData, storage):
+ # Clear the list of watched PIDs.
+ global forever_pids
+ forever_pids = {}
+
# stop and save coverage here b/c later the file system may be unavailable
if coverage is not None:
cov.stop()
--
1.9.3
More information about the anaconda-patches
mailing list