summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-12 13:59:19 +0000
committerChris Lumens <clumens@redhat.com>2006-07-12 13:59:19 +0000
commitd0dec240385acda60a0591fbddd1cbcbdf9c20bc (patch)
treed5dfc075f489681cf1577170d06ad47d9b803329 /rescue.py
parent143669aca0a87f5574924ea5aa6a52450a5311c6 (diff)
downloadanaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.tar.gz
anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.tar.xz
anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.zip
Use subprocess instead of our own code. Fix all calls to execWith* so
the command is no longer the first argument, since subprocess doesn't work that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue.py b/rescue.py
index a0c5cccfe..841d2056b 100644
--- a/rescue.py
+++ b/rescue.py
@@ -176,7 +176,7 @@ def runShell(screen, msg=""):
print
if os.path.exists("/bin/sh"):
- iutil.execWithRedirect("/bin/sh", ["-/bin/sh"], stdout="/dev/console", stderr="/dev/console")
+ iutil.execWithRedirect("/bin/sh", [], stdout="/dev/console", stderr="/dev/console")
else:
print "Unable to find /bin/sh to execute! Not starting shell"
time.sleep(5)