summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-10 21:19:23 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-17 01:55:47 -0400
commit2fc74bf4336eb7a7e40c0b355d19966cd97d4b3c (patch)
treeaa17fb1156cb2feaa8da7a5fbecb1f6261bd7670 /src/journal
parent1238ee09b7babb175b9bf7ad1d0e8eb2a414ee6e (diff)
journald: remove stray reset of error return value
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 37896d050d..c8c0801faf 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -110,7 +110,6 @@ int main(int argc, char *argv[]) {
r = sd_event_run(server.event, t);
if (r < 0) {
log_error("Failed to run event loop: %s", strerror(-r));
- r = -errno;
goto finish;
}