diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-29 09:52:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-29 09:52:02 +0000 |
commit | 5ecc27b1de408463eb9f583bebac9aadacdf0339 (patch) | |
tree | 04589f9fc2027ce235bb3b280983783a46f35dbe /wrapper | |
parent | dc535136ebd5b2f613b975d88032dce72bd54ba6 (diff) | |
download | control-center-5ecc27b1de408463eb9f583bebac9aadacdf0339.tar control-center-5ecc27b1de408463eb9f583bebac9aadacdf0339.tar.gz control-center-5ecc27b1de408463eb9f583bebac9aadacdf0339.tar.bz2 control-center-5ecc27b1de408463eb9f583bebac9aadacdf0339.tar.xz control-center-5ecc27b1de408463eb9f583bebac9aadacdf0339.zip |
use new system
Diffstat (limited to 'wrapper')
-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) { |