[master 2/2] Use sys.exit() instead of the exit() created by site.py.
dashea
installerbot-noreply at redhat.com
Tue Aug 4 14:53:39 UTC 2015
From: David Shea <dshea at redhat.com>
---
pyanaconda/ui/tui/spokes/askvnc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/tui/spokes/askvnc.py b/pyanaconda/ui/tui/spokes/askvnc.py
index e3d82a5..e50e614 100644
--- a/pyanaconda/ui/tui/spokes/askvnc.py
+++ b/pyanaconda/ui/tui/spokes/askvnc.py
@@ -116,7 +116,7 @@ def input(self, args, key):
if can_touch_runtime_system("Quit and Reboot"):
execWithRedirect("systemctl", ["--no-wall", "reboot"])
else:
- exit(1)
+ sys.exit(1)
else:
return key
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/7c82f8bee734e4ac0ac8a20687831ecf9ba08200
More information about the anaconda-patches
mailing list