From 3621f4b0966e98523f0a4e06f33885115ebe98f5 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 13 Feb 2002 02:33:18 +0000 Subject: use os.chroot now --- xf86config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xf86config.py') 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" -- cgit