diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-11 18:24:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-11 18:24:28 +0200 |
commit | fd006cce3861ce8321149dfd9210d65639e5e1dc (patch) | |
tree | 312b96e39395aaf9a110813b57556beabebc7dcc /src/initctl/initctl.c | |
parent | a2715692e22647428cceba3d4c300a85ddd4fadf (diff) | |
download | systemd-fd006cce3861ce8321149dfd9210d65639e5e1dc.tar.gz systemd-fd006cce3861ce8321149dfd9210d65639e5e1dc.tar.bz2 systemd-fd006cce3861ce8321149dfd9210d65639e5e1dc.zip |
initctl: don't eat up error code
Diffstat (limited to 'src/initctl/initctl.c')
-rw-r--r-- | src/initctl/initctl.c | 2 |
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; |