aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/apanel.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/apanel.pl')
-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) {