diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-13 22:26:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-13 22:26:19 +0000 |
commit | f2e6e7fbb672f2b310a9d7229062716e001779cd (patch) | |
tree | 4a38eb96bc564dc4c1e546cb5f1bbdf0cd7b2c47 /perl-install/standalone/drakbug | |
parent | 981a1e4cc59b821839666ceb291083c7716a7f05 (diff) | |
download | drakx-backup-do-not-use-f2e6e7fbb672f2b310a9d7229062716e001779cd.tar drakx-backup-do-not-use-f2e6e7fbb672f2b310a9d7229062716e001779cd.tar.gz drakx-backup-do-not-use-f2e6e7fbb672f2b310a9d7229062716e001779cd.tar.bz2 drakx-backup-do-not-use-f2e6e7fbb672f2b310a9d7229062716e001779cd.tar.xz drakx-backup-do-not-use-f2e6e7fbb672f2b310a9d7229062716e001779cd.zip |
use new run::program "setuid" option instead of sudo
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-x | perl-install/standalone/drakbug | 3 |
1 files changed, 1 insertions, 2 deletions
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"); } ), |