diff options
-rw-r--r-- | wrapper | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,8 +22,9 @@ # - prevent bad gtk bugs if one launch it from the cli and suspend itt # - having less overhead for launching drakxconf if cli version must be used +use common; -if (!$ENV{DISPLAY} || system('/usr/X11R6/bin/xtest')) { +if (check_for_xserver()) { exec ("/usr/sbin/drakxconf; reset"); } else { unless (my $pid = fork) { |