summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r--src/nspawn/nspawn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index f3e27f04f5..be0dc5e86b 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -3174,9 +3174,9 @@ static int outer_child(
return -EIO;
}
- l = send_one_fd(notify_socket, fd, 0);
- if (l < 0)
- return log_error_errno(errno, "Failed to send notify fd: %m");
+ r = send_one_fd(notify_socket, fd, 0);
+ if (r < 0)
+ return log_error_errno(r, "Failed to send notify fd: %m");
pid_socket = safe_close(pid_socket);
uuid_socket = safe_close(uuid_socket);