mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-05 08:45:28 +00:00
Pass explicit struct passwd * to create_admin_success_flag().
This commit is contained in:
@@ -538,7 +538,7 @@ sudoers_check_common(int pwflag)
|
||||
}
|
||||
|
||||
/* Create Ubuntu-style dot file to indicate sudo was successful. */
|
||||
if (create_admin_success_flag() == -1)
|
||||
if (create_admin_success_flag(user_ctx.pw) == -1)
|
||||
goto done;
|
||||
|
||||
/* Finally tell the user if the command did not exist. */
|
||||
|
Reference in New Issue
Block a user