mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
initctl: don't eat up error code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user