summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-02-13 02:33:18 +0000
committerJeremy Katz <katzj@redhat.com>2002-02-13 02:33:18 +0000
commit3621f4b0966e98523f0a4e06f33885115ebe98f5 (patch)
tree16bcc71362a68f099f45ee190513e99f137c6ff9 /xf86config.py
parentd542b7e04f56c537a78b703c3f05e15e9c33b5e9 (diff)
downloadanaconda-3621f4b0966e98523f0a4e06f33885115ebe98f5.tar.gz
anaconda-3621f4b0966e98523f0a4e06f33885115ebe98f5.tar.xz
anaconda-3621f4b0966e98523f0a4e06f33885115ebe98f5.zip
use os.chroot now
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xf86config.py b/xf86config.py
index da4ddab28..5a3ff7272 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -999,7 +999,7 @@ class XF86Config:
if (not serverpid):
if (root and root != '/'):
- isys.chroot (root)
+ os.chroot (root)
os.chdir("/")
args = [serverPath, '-xf86config', '/tmp/XF86Config.test' ]
@@ -1032,7 +1032,7 @@ class XF86Config:
child = os.fork()
if (not child):
if (root and root != '/'):
- isys.chroot (root)
+ os.chroot (root)
os.chdir("/")
os.environ["DISPLAY"] = ":9"