summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-07 19:08:00 +0000
committerMike Fulbright <msf@redhat.com>2002-06-07 19:08:00 +0000
commitf96d2b90fafa7a9e1c4dc68bb23fd8fb74b24af0 (patch)
tree3bd9ebf2f908a87423860fc1c6d7948a1074049f /iutil.py
parent9bcbf1eb1dbc78eb82f68bec3cbf3620dd1c855f (diff)
downloadanaconda-f96d2b90fafa7a9e1c4dc68bb23fd8fb74b24af0.tar.gz
anaconda-f96d2b90fafa7a9e1c4dc68bb23fd8fb74b24af0.tar.xz
anaconda-f96d2b90fafa7a9e1c4dc68bb23fd8fb74b24af0.zip
commented out seemingly useless code for now
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/iutil.py b/iutil.py
index d39b778dc..88202aba5 100644
--- a/iutil.py
+++ b/iutil.py
@@ -60,8 +60,12 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2,
stdout = getfd(stdout)
stderr = getfd(stderr)
- if not os.access (root + command, os.X_OK):
- raise RuntimeError, command + " can not be run"
+#
+# XXX What is this good for? If we can't run a command we'll error
+# out below won't we?
+#
+# if not os.access (root + command, os.X_OK):
+# raise RuntimeError, command + " can not be run"
childpid = os.fork()
if (not childpid):