diff --git a/src/journal/journald.c b/src/journal/journald.c index 53dbf8e138a..39263bfe4c4 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); }