enlightenment_system - harden - no sysactions.conf - deny all actions

This commit is contained in:
Carsten Haitzler 2022-09-15 15:17:53 +01:00
parent e87530514e
commit 99e79be062
1 changed files with 2 additions and 4 deletions

View File

@ -598,10 +598,8 @@ auth_action_ok(char *a,
*/
ret = auth_etc_enlightenment_sysactions(a, usr, grp);
if (ret == 1) return 1;
else if (ret == -1)
return 0;
/* the DEFAULT - allow */
return 1;
else if (ret == -1) return 0;
return 0; // no sysactions.conf file found - just say no. bad system
}
static int