From 6400084caa758677444354eae552ef5415ba4675 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 7 May 2024 13:19:42 +0200 Subject: [PATCH] exec-invoke: pass the right error variable --- src/core/exec-invoke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/exec-invoke.c b/src/core/exec-invoke.c index 2ecc9dd856..86bd797896 100644 --- a/src/core/exec-invoke.c +++ b/src/core/exec-invoke.c @@ -2896,7 +2896,7 @@ static int setup_ephemeral( */ r = chattr_fd(fd, FS_NOCOW_FL, FS_NOCOW_FL, NULL); if (r < 0) - log_debug_errno(fd, "Failed to disable copy-on-write for %s, ignoring: %m", new_root); + log_debug_errno(r, "Failed to disable copy-on-write for %s, ignoring: %m", new_root); } else { assert(*root_directory);