diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-13 02:33:18 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-13 02:33:18 +0000 |
commit | 3621f4b0966e98523f0a4e06f33885115ebe98f5 (patch) | |
tree | 16bcc71362a68f099f45ee190513e99f137c6ff9 /iutil.py | |
parent | d542b7e04f56c537a78b703c3f05e15e9c33b5e9 (diff) | |
download | anaconda-3621f4b0966e98523f0a4e06f33885115ebe98f5.tar.gz anaconda-3621f4b0966e98523f0a4e06f33885115ebe98f5.tar.xz anaconda-3621f4b0966e98523f0a4e06f33885115ebe98f5.zip |
use os.chroot now
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,7 +66,7 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2, childpid = os.fork() if (not childpid): if (root and root != '/'): - isys.chroot (root) + os.chroot (root) os.chdir("/") if ignoreTermSigs: @@ -124,7 +124,7 @@ def execWithCapture(command, argv, searchPath = 0, root = '/', stdin = 0, childpid = os.fork() if (not childpid): - if (root and root != '/'): isys.chroot (root) + if (root and root != '/'): os.chroot (root) os.dup2(write, catchfd) os.close(write) os.close(read) |