summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-22 10:29:34 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-22 10:29:34 +0000
commit0b5c99fbf0be5bd8ccf0bb9a780a8dcdf5bf2e92 (patch)
treee123634e4023a825ce2b63617266873d5d41374c
parent12806c65fa7707c980b0726c65dc2047e65edb7a (diff)
downloadcontrol-center-0b5c99fbf0be5bd8ccf0bb9a780a8dcdf5bf2e92.tar
control-center-0b5c99fbf0be5bd8ccf0bb9a780a8dcdf5bf2e92.tar.gz
control-center-0b5c99fbf0be5bd8ccf0bb9a780a8dcdf5bf2e92.tar.bz2
control-center-0b5c99fbf0be5bd8ccf0bb9a780a8dcdf5bf2e92.tar.xz
control-center-0b5c99fbf0be5bd8ccf0bb9a780a8dcdf5bf2e92.zip
use std method in order to fork a detached drakbug, thus fixing
impossible to close mcc once drakbug was fired
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index 8e184a19..12369dbc 100755
--- a/control-center
+++ b/control-center
@@ -1261,7 +1261,7 @@ my @menu_items = (
run_program::raw({ detach => 1 }, '/usr/bin/www-browser',
"http://wiki.mandriva.com/en/Releases/Mandriva/$release->{version}/Errata");
}, undef, '<Item>', N("Help") ],
- [ N("/_Help") . N("/_Report Bug"), undef, sub { fork_(join(' ', 'drakbug --report', $pending_app || 'drakconf', '&')) }, undef, '<Item>' ],
+ [ N("/_Help") . N("/_Report Bug"), undef, sub { run_program::raw({ detach => 1 }, 'drakbug', '--report', $pending_app || 'drakconf') }, undef, '<Item>' ],
[ N("/_Help") . N("/_About..."), undef, \&about_mdk_cc, undef, '<Item>' ]
);