diff options
author | Chris Lumens <clumens@redhat.com> | 2006-07-17 21:45:59 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-07-17 21:45:59 +0000 |
commit | 8a71039d91ee3209916a48181273612b595720e3 (patch) | |
tree | 8d2d9363339a8125bc67b14e069f63c80ab3ae68 /iutil.py | |
parent | e621335cd27591623f642a72a8809d73556e3faf (diff) | |
download | anaconda-8a71039d91ee3209916a48181273612b595720e3.tar.gz anaconda-8a71039d91ee3209916a48181273612b595720e3.tar.xz anaconda-8a71039d91ee3209916a48181273612b595720e3.zip |
Move path check into preexec_fn so absolute symlinks to things that don't exist
in the stage2 image work.
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,8 +28,8 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2, def chroot (): os.chroot(root) - if not searchPath and not os.access (root + command, os.X_OK): - raise RuntimeError, command + " can not be run" + if not searchPath and not os.access (command, os.X_OK): + raise RuntimeError, command + " can not be run" if type(stdin) == type("string"): stdin = open(stdin) |