mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Rename haveAdminPrivileges -> isAdministratorOrPrintErr (use meaningful names)
This commit is contained in:
parent
96c5e2025d
commit
ca6707c54a
52 changed files with 53 additions and 53 deletions
|
|
@ -37,7 +37,7 @@ local script_type = checks.getScriptType(check_subdir)
|
|||
|
||||
local scripts = checks.load(getSystemInterfaceId(), script_type, check_subdir)
|
||||
|
||||
if not haveAdminPrivileges() or not configset then
|
||||
if not isAdministratorOrPrintErr() or not configset then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue