diff options
-rw-r--r-- | xf86config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py index f814cfa9e..e24e20431 100644 --- a/xf86config.py +++ b/xf86config.py @@ -1089,6 +1089,8 @@ Section "Screen" return XF86Config_template % info def Version4Config(self, test=0): + if not self.vidCards: + raise RuntimeError, "No known video cards" screens = "" maxdepth = -1 for depth in self.modes.keys (): |