From: David Shea <dshea(a)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/7c82f8bee734e4ac0ac8a20687...