From 2ad31d41b3055e4f6bb7d3cc57583570125c5007 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 24 Nov 2023 11:21:18 +0100 Subject: [PATCH] linux: fix error string the error refers to a fork failure, not setsid. Signed-off-by: Giuseppe Scrivano --- src/libcrun/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcrun/linux.c b/src/libcrun/linux.c index dec08e0f82..31a80b1391 100644 --- a/src/libcrun/linux.c +++ b/src/libcrun/linux.c @@ -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)