summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-13 22:26:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-13 22:26:19 +0000
commitf2e6e7fbb672f2b310a9d7229062716e001779cd (patch)
tree4a38eb96bc564dc4c1e546cb5f1bbdf0cd7b2c47
parent981a1e4cc59b821839666ceb291083c7716a7f05 (diff)
downloaddrakx-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
-rwxr-xr-xperl-install/standalone/drakbug3
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");
}
),