logger: fix error handling

This commit is contained in:
Lennart Poettering
2010-11-23 01:36:54 +01:00
parent cfcfd4aefe
commit aeb70c8d60
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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;
}