summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-01-31 14:52:18 +0000
committerThierry Vignaud <tv@mandriva.org>2008-01-31 14:52:18 +0000
commite5b7d54181f7a08d5fa664d7f1aaad4057005aa3 (patch)
treed2e3d4438ea7dcff19a31ad146137caba6cc09ee /perl-install/standalone
parented0ec1dcf09682645185d84d0b6502792abf4792 (diff)
downloaddrakx-e5b7d54181f7a08d5fa664d7f1aaad4057005aa3.tar
drakx-e5b7d54181f7a08d5fa664d7f1aaad4057005aa3.tar.gz
drakx-e5b7d54181f7a08d5fa664d7f1aaad4057005aa3.tar.bz2
drakx-e5b7d54181f7a08d5fa664d7f1aaad4057005aa3.tar.xz
drakx-e5b7d54181f7a08d5fa664d7f1aaad4057005aa3.zip
- do not fork a useless shell when running drakhelp
- open help as user
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakbug5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug
index 7dc2c7e9a..1dd87f6b0 100755
--- a/perl-install/standalone/drakbug
+++ b/perl-install/standalone/drakbug
@@ -165,7 +165,10 @@ gtkadd($window->{window},
),
0, gtkpack(Gtk2::HSeparator->new),
0, gtkpack(create_hbox('edge'),
- gtksignal_connect(Gtk2::Button->new(N("Help")), clicked => sub { system("drakhelp --id drakbug &") }),
+ gtksignal_connect(
+ Gtk2::Button->new(N("Help")), clicked => sub {
+ run_program::raw({ detach => 1, setuid => $parent_uid }, 'drakhelp', '--id', 'drakbug');
+ }),
gtkpack(create_hbox('end'),
gtksignal_connect(Gtk2::Button->new(N("Report")), clicked => \&report_bug_to_bugzilla),
gtksignal_connect(Gtk2::Button->new(N("Close")), clicked => sub { ugtk2->exit(0) }),