On Mon, 2014-02-24 at 10:16 -0500, Samantha N. Bueno wrote:
A system would not reboot under all cases where a CmdlineError was
raised, so just force it this way.
Resolves: rhbz#1034773
---
pyanaconda/exception.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index 13f5ba9..c7ab659 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -107,7 +107,7 @@ class AnacondaExceptionHandler(ExceptionHandler):
# for a few seconds before exiting the installer
print(cmdline_error_msg)
time.sleep(180)
- sys.exit(0)
+ os.system("reboot")
Is our exitHandler called at some point,
if we do something like this?
I'm afraid it isn't. Maybe we could make sys.exit(0) work in all cases?
Or should we send SIGTERM to ourselves instead?
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic