diff options
author | Mike Fulbright <msf@redhat.com> | 2003-01-21 23:53:10 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-01-21 23:53:10 +0000 |
commit | 892dca9c48108601e8655d5cde2d74e8beb55659 (patch) | |
tree | cb266fa2a03ee4222a690a842af6179054a6403a /rescue.py | |
parent | ba8019d283b27b56439d32733ca6fa7d75bc4095 (diff) | |
download | anaconda-892dca9c48108601e8655d5cde2d74e8beb55659.tar.gz anaconda-892dca9c48108601e8655d5cde2d74e8beb55659.tar.xz anaconda-892dca9c48108601e8655d5cde2d74e8beb55659.zip |
shell out and cleanse return code to fix bug mike m was seeing
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -159,7 +159,8 @@ def runRescue(instPath, mountroot, id): print _("When finished please exit from the shell and your " "system will reboot.") print - os.execv("/bin/sh", [ "-/bin/sh" ]) + os.system("/bin/sh") + sys.exit(0) # lets create some devices iutil.makeDriveDeviceNodes() @@ -346,4 +347,5 @@ def runRescue(instPath, mountroot, id): print _("When finished please exit from the shell and your " "system will reboot.") print - os.execv("/bin/sh", [ "-/bin/sh" ]) + os.system("/bin/sh") + sys.exit(0) |