Commit 6ab3c207 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

logger: fix return value

parent 4ca5640b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment