initctl: don't eat up error code

This commit is contained in:
Lennart Poettering
2014-08-11 18:24:28 +02:00
parent a2715692e2
commit fd006cce38

View File

@@ -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;