Rename haveAdminPrivileges -> isAdministratorOrPrintErr (use meaningful names)

This commit is contained in:
Alfredo Cardigliano 2021-07-02 16:51:40 +02:00
parent 96c5e2025d
commit ca6707c54a
52 changed files with 53 additions and 53 deletions

View file

@ -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