aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 19:45:19 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 19:45:19 +0000
commit41d5ddf60113765ffe416049531069fdd71450f2 (patch)
treed0f63dfd1082480012848524555a21943817159b /rpmdrake.pm
parent1edd490cf871b214aafeab61d1c91cf33ec0f995 (diff)
downloadrpmdrake-41d5ddf60113765ffe416049531069fdd71450f2.tar
rpmdrake-41d5ddf60113765ffe416049531069fdd71450f2.tar.gz
rpmdrake-41d5ddf60113765ffe416049531069fdd71450f2.tar.bz2
rpmdrake-41d5ddf60113765ffe416049531069fdd71450f2.tar.xz
rpmdrake-41d5ddf60113765ffe416049531069fdd71450f2.zip
(open_help) revert latest change, run_as_help() doesn't work for drakhelp...
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 267f9cd4..4fb82c55 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -949,7 +949,8 @@ sub run_as_user {
sub open_help {
my ($mode) = @_;
use run_program;
- run_as_user('drakhelp', '--id', $mode ? "software-management-$mode" : 'software-management');
+ # FIXME: run_as_user() doesn't work for drakhelp:
+ run_program::raw({ detach => 1 }, 'drakhelp', '--id', $mode ? "software-management-$mode" : 'software-management');
N("Help launched in background");
statusbar_msg(N("The help window has been started, it should appear shortly on your desktop."), 1);
}