summaryrefslogtreecommitdiff
path: root/src/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.c')
-rw-r--r--src/logger.c2
1 files changed, 1 insertions, 1 deletions
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;
}