summaryrefslogtreecommitdiffstats
path: root/wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper')
-rw-r--r--wrapper3
1 files changed, 2 insertions, 1 deletions
diff --git a/wrapper b/wrapper
index 7728450e..4e1824d8 100644
--- a/wrapper
+++ b/wrapper
@@ -22,9 +22,10 @@
# - 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 lib qw(/usr/lib/libDrakX);
use common;
-if (check_for_xserver()) {
+if (!check_for_xserver()) {
exec ("/usr/sbin/drakxconf; reset");
} else {
unless (my $pid = fork) {