mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Implement callbacks for defaults flags (T_FLAG).
This commit is contained in:
@@ -312,6 +312,8 @@ set_default(char *var, char *val, int op)
|
||||
debug_return_bool(false);
|
||||
}
|
||||
cur->sd_un.flag = op;
|
||||
if (cur->callback)
|
||||
debug_return_bool(cur->callback(&cur->sd_un));
|
||||
break;
|
||||
case T_LIST:
|
||||
if (!val) {
|
||||
|
Reference in New Issue
Block a user