summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 53dbf8e138..39263bfe4c 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -489,7 +489,7 @@ static void dispatch_message_real(Server *s,
exe = strappend("_EXE=", t);
free(t);
- if (comm)
+ if (exe)
IOVEC_SET_STRING(iovec[n++], exe);
}