summaryrefslogtreecommitdiff
path: root/src/initctl
diff options
context:
space:
mode:
Diffstat (limited to 'src/initctl')
-rw-r--r--src/initctl/initctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c
index f1cf31a4a8..d4f8673187 100644
--- a/src/initctl/initctl.c
+++ b/src/initctl/initctl.c
@@ -212,8 +212,7 @@ static int fifo_process(Fifo *f) {
if (errno == EAGAIN)
return 0;
- log_warning_errno(errno, "Failed to read from fifo: %m");
- return -errno;
+ return log_warning_errno(errno, "Failed to read from fifo: %m");
}
f->bytes_read += l;