Check restore_perms() return value in all cases, pushing the
return value back up the call stack.
This commit is contained in:
@@ -722,6 +722,7 @@ sudoers_policy_invalidate(int remove)
|
||||
debug_decl(sudoers_policy_invalidate, SUDOERS_DEBUG_PLUGIN)
|
||||
|
||||
user_cmnd = "kill";
|
||||
/* XXX - plugin API should support a return value for fatal errors. */
|
||||
remove_timestamp(remove);
|
||||
sudoers_cleanup();
|
||||
|
||||
|
Reference in New Issue
Block a user