Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
update_defaults(int what, bool quiet)
struct defaults *d;
* Then set the rest of the defaults.
TAILQ_FOREACH(d, &defaults, entries) {
/* Copy the value to sudo_defs_table and run callback (if any) */
if (!set_default(d->var, d->val, d->op, d->file, d->lineno, quiet))
ret = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment