summaryrefslogtreecommitdiffstats
path: root/mdkapplet-upgrade-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-13 23:11:35 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-13 23:11:35 +0000
commit2a50093841b4fe60df317808f09c5897858d881f (patch)
treee5d1572dd4008d431c01206373d17823d3c2cc02 /mdkapplet-upgrade-helper
parent647145c25b3eae7b63a742a7b58a30c9f8c94c54 (diff)
downloadmgaonline-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-xmdkapplet-upgrade-helper1
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';