mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-28 21:07:55 +00:00
src/sudo.c: call audit plugin close when result is a wait status
This commit is contained in:
parent
0202dc67cc
commit
2781ec030b
@ -968,6 +968,7 @@ run_command(struct command_details *details)
|
||||
#endif
|
||||
policy_close(status, 0);
|
||||
iolog_close(status, 0);
|
||||
audit_close(SUDO_PLUGIN_WAIT_STATUS, cstat.val);
|
||||
break;
|
||||
default:
|
||||
/* TODO: handle front end error conditions. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user