Skip to content

Commit

Permalink
linux: fix error string
Browse files Browse the repository at this point in the history
the error refers to a fork failure, not setsid.

Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Nov 24, 2023
1 parent 8960e05 commit 2ad31d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcrun/linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -5301,7 +5301,7 @@ libcrun_join_process (libcrun_context_t *context,
{
int saved_errno = errno;
TEMP_FAILURE_RETRY (write (sync_fd, "1", 1));
libcrun_fail_with_error (saved_errno, "setsid");
libcrun_fail_with_error (saved_errno, "fork");
}

if (pid)
Expand Down

0 comments on commit 2ad31d4

Please sign in to comment.