summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iutil.py b/iutil.py
index 0a0823b4c..fd007b2f3 100644
--- a/iutil.py
+++ b/iutil.py
@@ -1,5 +1,5 @@
-import types, os, sys
+import types, os, sys, isys
def getfd(filespec, readOnly = 0):
if type(filespec) == types.IntType:
@@ -20,7 +20,7 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2,
childpid = os.fork()
if (not childpid):
- os.chroot (root)
+ isys.chroot (root)
if stdin != 0:
os.dup2(stdin, 0)
os.close(stdin)