From f2e6e7fbb672f2b310a9d7229062716e001779cd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 13 Sep 2007 22:26:19 +0000 Subject: use new run::program "setuid" option instead of sudo --- perl-install/standalone/drakbug | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index 127ab910b..0e3cb1b5c 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -147,8 +147,7 @@ qq(If you can, try to run the "$prog" program from a terminal and copy and paste ); print($bugzilla_url . "?" . $options . "\n"); require run_program; - run_program::raw({ detach => 1 }, - if_($parent_uid, 'sudo', '-u', "#$parent_uid"), + run_program::raw({ detach => 1, setuid => $parent_uid }, '/usr/bin/www-browser', "$bugzilla_url?$options"); } ), -- cgit v1.2.1