summaryrefslogtreecommitdiff
path: root/src/journal-remote/journal-remote.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-04 16:34:20 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-04 18:09:19 +0100
commitf1f00dbb7f3741b30d4a26b1a8b65ec46ff1fde3 (patch)
treeef4ec5a8e27c5321655117ebdc65aacdbf24712c /src/journal-remote/journal-remote.c
parent356779df90a2ecab5da2cb310ad0f8ebc9ca9f46 (diff)
sd-event: implicitly set signal event source's descriptions to the signal name
Diffstat (limited to 'src/journal-remote/journal-remote.c')
-rw-r--r--src/journal-remote/journal-remote.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 03410c7925..7239b8cc6d 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -803,18 +803,10 @@ static int setup_signals(RemoteServer *s) {
if (r < 0)
return r;
- r = sd_event_source_set_description(s->sigterm_event, "sigterm");
- if (r < 0)
- return r;
-
r = sd_event_add_signal(s->events, &s->sigint_event, SIGINT, NULL, s);
if (r < 0)
return r;
- r = sd_event_source_set_description(s->sigint_event, "sigint");
- if (r < 0)
- return r;
-
return 0;
}