From: Lennart Poettering Date: Sun, 4 Apr 2010 20:54:25 +0000 (+0200) Subject: logger: fix return value X-Git-Tag: 0.git+20100605+dfd8ee-1~267 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ab3c207a978f7db16cb43a2d6c10493ffab3bf5;p=platform%2Fupstream%2Fsystemd.git logger: fix return value --- diff --git a/logger.c b/logger.c index af3293b..8ce9685 100644 --- a/logger.c +++ b/logger.c @@ -564,7 +564,7 @@ int main(int argc, char *argv[]) { if (k <= 0) break; - if ((r = process_event(&server, &event)) < 0) + if ((k = process_event(&server, &event)) < 0) goto fail; } r = 0;