[master] exception.py: switch to tty1 after exit (#571697)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



so the user knows what's going on and doesn't get a blank screen.
---
 exception.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/exception.py b/exception.py
index 65d7008..18f8e4e 100644
--- a/exception.py
+++ b/exception.py
@@ -89,6 +89,14 @@ class AnacondaExceptionHandler(ExceptionHandler):
         pdb.post_mortem (tb)
         os.kill(os.getpid(), signal.SIGKILL)
 
+    def runQuit(self, (ty, value, tb)):
+        # see a similar comment at runDebug()
+        try:
+            isys.vtActivate(1)
+        except SystemError:
+            pass
+        sys.exit(self.exitcode)
+
 def initExceptionHandling(anaconda):
     fileList = [ "/tmp/anaconda.log", "/tmp/lvmout", "/tmp/resize.out",
                  "/tmp/program.log", "/tmp/storage.log", "/tmp/yum.log",
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux