aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
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 ca8834c8..813c1701 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) {