[PATCH 05/17] Remove the exitCode parameter from exitHandler.

David Shea dshea at redhat.com
Sun Sep 21 19:36:57 UTC 2014


Knowing the exit code during exit is a fantasy.
---
 anaconda | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/anaconda b/anaconda
index 19441b4..734dbff 100755
--- a/anaconda
+++ b/anaconda
@@ -119,7 +119,7 @@ def start_watched_pid(proc_name):
         os.close(writepipe)
         return childpid
 
-def exitHandler(rebootData, storage, exitCode=None):
+def exitHandler(rebootData, storage):
     # stop and save coverage here b/c later the file system may be unavailable
     if coverage is not None:
         cov.stop()
@@ -129,9 +129,6 @@ def exitHandler(rebootData, storage, exitCode=None):
     if flags.usevnc:
         vnc.shutdownServer()
 
-    if exitCode:
-        anaconda.intf.shutdown()
-
     if "nokill" in flags.cmdline:
         iutil.vtActivate(1)
         print("anaconda halting due to nokill flag.")
-- 
1.9.3



More information about the anaconda-patches mailing list