aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-10 09:25:57 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-10 09:25:57 +0200
commit48b22dca97fa8a84912a60bc835645e8fbbe1952 (patch)
tree85c639e65f16569fe5bed86edb5793f83d9d5b11 /scripts
parent1cd05d978ae67c7efebab7ca33c35a7cc4e4e668 (diff)
downloadcolin-keep-48b22dca97fa8a84912a60bc835645e8fbbe1952.tar
colin-keep-48b22dca97fa8a84912a60bc835645e8fbbe1952.tar.gz
colin-keep-48b22dca97fa8a84912a60bc835645e8fbbe1952.tar.bz2
colin-keep-48b22dca97fa8a84912a60bc835645e8fbbe1952.tar.xz
colin-keep-48b22dca97fa8a84912a60bc835645e8fbbe1952.zip
Changed to is_root_capability_required atm to avoid redeclarations
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/apanel.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/apanel.pl b/scripts/apanel.pl
index ca8834c..813c170 100755
--- a/scripts/apanel.pl
+++ b/scripts/apanel.pl
@@ -39,7 +39,7 @@ if($cmdline->find("--dev") > 0)
}
else
{
- ask_for_authentication($settings->{priv_method}) if(require_root_capability());
+ ask_for_authentication($settings->{priv_method}) if(is_root_capability_required());
}
my $mainWin = new AdminPanel::MainDisplay();
while (1) {