summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 541aa133..15a954d5 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -31,7 +31,7 @@ use lib qw(/usr/lib/libDrakX);
use common;
BEGIN { unshift @::textdomains, 'mdkupdate' }
-my $in = 'interactive'->vnew('su', 'default');
+require_root_capability();
my $logfile = "/var/log/mdkupdate.log";
my $conffile = "/root/.mdkupdate";