summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/initctl/initctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c
index f3f6f73040..0954e58afd 100644
--- a/src/initctl/initctl.c
+++ b/src/initctl/initctl.c
@@ -218,7 +218,7 @@ static int fifo_process(Fifo *f) {
return 0;
log_warning("Failed to read from fifo: %m");
- return -1;
+ return -errno;
}
f->bytes_read += l;