1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

logger: fix return value

This commit is contained in:
Lennart Poettering 2010-04-04 22:54:25 +02:00
parent 4ca5640b27
commit 6ab3c207a9

View File

@ -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;