2
0
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:
Todd C. Miller
2016-07-18 12:37:45 -06:00
parent d92a396da5
commit 7218dbe542

View File

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