summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-09-15 10:02:12 -0400
committerChris Lumens <clumens@redhat.com>2008-09-15 10:02:12 -0400
commit7c322a9ca3d2adbd4a11f1b7d8e4818d40e223f7 (patch)
tree6e02acc08bcfd09b505ca7f98fd973de084ba62e /rescue.py
parentbc551e694adb2816711025480684eb0000b8d878 (diff)
downloadanaconda-7c322a9ca3d2adbd4a11f1b7d8e4818d40e223f7.tar.gz
anaconda-7c322a9ca3d2adbd4a11f1b7d8e4818d40e223f7.tar.xz
anaconda-7c322a9ca3d2adbd4a11f1b7d8e4818d40e223f7.zip
Fix a traceback when starting a shell in rescue mode (#462148).
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue.py b/rescue.py
index cd5eb6fd7..04119e0f2 100644
--- a/rescue.py
+++ b/rescue.py
@@ -195,10 +195,10 @@ def runShell(screen = None, msg=""):
"system will reboot."))
print
- if os.path.exists("/bin/sh"):
+ if os.path.exists("/bin/bash"):
iutil.execConsole()
else:
- print(_"Unable to find /bin/sh to execute! Not starting shell"))
+ print(_("Unable to find /bin/sh to execute! Not starting shell"))
time.sleep(5)
if screen: