diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-18 19:40:04 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-18 19:40:04 +0000 |
commit | 550c8fb753d7869419dbadf1873d532fa33e4f61 (patch) | |
tree | b0cd93bb66f29dad41af77015d2433342754ce9b /xf86config.py | |
parent | 317deabd5f5ef80546948ba9e7679c5a5f488185 (diff) | |
download | anaconda-550c8fb753d7869419dbadf1873d532fa33e4f61.tar.gz anaconda-550c8fb753d7869419dbadf1873d532fa33e4f61.tar.xz anaconda-550c8fb753d7869419dbadf1873d532fa33e4f61.zip |
fix return code if we do not start server
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xf86config.py b/xf86config.py index 3ceba075f..861683347 100644 --- a/xf86config.py +++ b/xf86config.py @@ -938,12 +938,12 @@ class XF86Config: def test (self, serverflags=None, spawn=0, root='/'): if self.videocard == None: - return + return None servername = self.videocard.getXServer() if not servername: - return + return None files = self.files laptop = self.laptop() @@ -1040,7 +1040,6 @@ class XF86Config: os.execv(args[0], args) os.exit (1) - if spawn: return serverpid |