Skip to content

Commit

Permalink
session: fix copy/paste abort message for setresuid
Browse files Browse the repository at this point in the history
Closes: #21177
  • Loading branch information
jelly authored and martinpitt committed Oct 28, 2024
1 parent 2f16861 commit fdb0070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session/session-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ spawn_and_wait (const char **argv, const char **envp,
abort_with_message ("setresgid: couldn't set gid to %u: %m\n", (int) gid);

if (setresuid (uid, uid, uid) != 0)
abort_with_message ("setresgid: couldn't set uid to %u: %m\n", (int) gid);
abort_with_message ("setresuid: couldn't set uid to %u: %m\n", (int) uid);

/* paranoid */
{
Expand Down

0 comments on commit fdb0070

Please sign in to comment.