summaryrefslogtreecommitdiffstats
path: root/wrapper
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-07-10 21:48:59 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-07-10 21:48:59 +0200
commite38fe3bf8daed57b94952119ae517bef23b2d480 (patch)
treec4ed99db0d97c9eaa4c8941be722ddde7e698b4d /wrapper
parent85e14d0d7052353b9577c29191beced54399259e (diff)
downloadcontrol-center-e38fe3bf8daed57b94952119ae517bef23b2d480.tar
control-center-e38fe3bf8daed57b94952119ae517bef23b2d480.tar.gz
control-center-e38fe3bf8daed57b94952119ae517bef23b2d480.tar.bz2
control-center-e38fe3bf8daed57b94952119ae517bef23b2d480.tar.xz
control-center-e38fe3bf8daed57b94952119ae517bef23b2d480.zip
fix doble fork (Colin Guthrie)
Diffstat (limited to 'wrapper')
-rw-r--r--wrapper4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrapper b/wrapper
index 56627542..de74b977 100644
--- a/wrapper
+++ b/wrapper
@@ -28,7 +28,7 @@ use lib qw(/usr/lib/libDrakX);
use common;
if (check_for_xserver()) {
- exec ("/usr/bin/pkexec", "/usr/libexec/drakconf", @ARGV);
+ system("/usr/bin/pkexec", "/usr/libexec/drakconf", @ARGV);
} else {
- exec ("/usr/bin/pkexec", "/usr/libexec/drakxconf", @ARGV);
+ system("/usr/bin/pkexec", "/usr/libexec/drakxconf", @ARGV);
}