Fix a crash when not run in verbose mode.

This commit is contained in:
Todd C. Miller
2022-05-12 08:37:48 -06:00
parent f94e5d40db
commit 0f104d2ff1

View File

@@ -80,8 +80,7 @@ init_debug_files(struct sudo_conf_debug_file_list *file_list,
TAILQ_INIT(file_list);
switch (verbose) {
case 0:
file->debug_flags = NULL;
break;
debug_return;
case 1:
file->debug_flags = "exec@diag";
break;