2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Sprinkle a few more debugging printfs.

This commit is contained in:
Todd C. Miller
2017-09-01 09:22:31 -06:00
parent e100259619
commit 507ab6fdcd
2 changed files with 10 additions and 0 deletions

View File

@@ -238,6 +238,9 @@ parse_default_entry(struct sudo_defs_types *def, const char *val, int op,
int rc;
debug_decl(parse_default_entry, SUDOERS_DEBUG_DEFAULTS)
sudo_debug_printf(SUDO_DEBUG_INFO, "%s: %s:%d %s=%s op=%d",
__func__, file, lineno, def->name, val ? val : "", op);
/*
* If no value specified, the boolean flag must be set for non-flags.
* Only flags and tuples support boolean "true".