diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-13 23:11:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-13 23:11:35 +0000 |
commit | 2a50093841b4fe60df317808f09c5897858d881f (patch) | |
tree | e5d1572dd4008d431c01206373d17823d3c2cc02 /mdkapplet-upgrade-helper | |
parent | 647145c25b3eae7b63a742a7b58a30c9f8c94c54 (diff) | |
download | mgaonline-2a50093841b4fe60df317808f09c5897858d881f.tar mgaonline-2a50093841b4fe60df317808f09c5897858d881f.tar.gz mgaonline-2a50093841b4fe60df317808f09c5897858d881f.tar.bz2 mgaonline-2a50093841b4fe60df317808f09c5897858d881f.tar.xz mgaonline-2a50093841b4fe60df317808f09c5897858d881f.zip |
ask for root password earlier, before removing media (#44771)
Diffstat (limited to 'mdkapplet-upgrade-helper')
-rwxr-xr-x | mdkapplet-upgrade-helper | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper index 05505d8f..323f4071 100755 --- a/mdkapplet-upgrade-helper +++ b/mdkapplet-upgrade-helper @@ -25,6 +25,7 @@ use POSIX ":sys_wait_h"; use lib qw(/usr/lib/libDrakX); use standalone; # for explanations use common; +BEGIN { require_root_capability() } use run_program; use feature 'state'; |