diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-01-31 14:52:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-01-31 14:52:18 +0000 |
commit | e5b7d54181f7a08d5fa664d7f1aaad4057005aa3 (patch) | |
tree | d2e3d4438ea7dcff19a31ad146137caba6cc09ee /perl-install | |
parent | ed0ec1dcf09682645185d84d0b6502792abf4792 (diff) | |
download | drakx-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')
-rwxr-xr-x | perl-install/standalone/drakbug | 5 |
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) }), |