From aeb70c8d60dd6e21dc3e2b20072f30c045d12261 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Nov 2010 01:36:54 +0100 Subject: logger: fix error handling --- src/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/logger.c') diff --git a/src/logger.c b/src/logger.c index 9c3cb1abd7..32c57f8f82 100644 --- a/src/logger.c +++ b/src/logger.c @@ -318,7 +318,7 @@ static int stream_process(Stream *s, usec_t ts) { return 0; log_warning("Failed to read from stream: %m"); - return -1; + return -errno; } -- cgit v1.2.3-54-g00ecf