forked from pool/systemd
c311032ffb
OBS-URL: https://build.opensuse.org/request/show/228354 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=179
25 lines
789 B
Diff
25 lines
789 B
Diff
From 2fc74bf4336eb7a7e40c0b355d19966cd97d4b3c Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Date: Mon, 10 Mar 2014 21:19:23 -0400
|
|
Subject: [PATCH] journald: remove stray reset of error return value
|
|
|
|
---
|
|
src/journal/journald.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git src/journal/journald.c src/journal/journald.c
|
|
index 37896d0..c8c0801 100644
|
|
--- src/journal/journald.c
|
|
+++ 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;
|
|
}
|
|
|
|
--
|
|
1.7.9.2
|
|
|