summaryrefslogtreecommitdiffstats
path: root/wrapper
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-09-15 10:37:54 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-09-15 10:37:54 +0000
commit6e3e8e3c0ff807a8155600ed200641d0d9df8e50 (patch)
tree29fd15493cf34b3ab279caad67acc2db563b9841 /wrapper
parent17f8afd0f2d6138a0fa1ac9fe7a74139f742a649 (diff)
downloadcontrol-center-6e3e8e3c0ff807a8155600ed200641d0d9df8e50.tar
control-center-6e3e8e3c0ff807a8155600ed200641d0d9df8e50.tar.gz
control-center-6e3e8e3c0ff807a8155600ed200641d0d9df8e50.tar.bz2
control-center-6e3e8e3c0ff807a8155600ed200641d0d9df8e50.tar.xz
control-center-6e3e8e3c0ff807a8155600ed200641d0d9df8e50.zip
pass cli options to wrapped program (eg: fix --help not handled)
Diffstat (limited to 'wrapper')
-rw-r--r--wrapper4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrapper b/wrapper
index 4e1824d8..f731bc9f 100644
--- a/wrapper
+++ b/wrapper
@@ -26,11 +26,11 @@ use lib qw(/usr/lib/libDrakX);
use common;
if (!check_for_xserver()) {
- exec ("/usr/sbin/drakxconf; reset");
+ exec ("/usr/sbin/drakxconf @ARGV; reset");
} else {
unless (my $pid = fork) {
print "cannot fork\n" unless defined $pid;
- exec ("/usr/sbin/drakconf.real");
+ exec ("/usr/sbin/drakconf.real", @ARGV);
}
}