summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrián López <adrianlzt@gmail.com>2017-02-17 21:27:45 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-17 15:27:45 -0500
commitef6e596ff031e58916d00a7800b8482a6d81f105 (patch)
treece03f6f35f48daaf0b028ba35dc92156331004e0
parent52d1f5e5694b55d375860220287b9e9456a1432a (diff)
systemctl: show extra args if defined (#5379)
-rw-r--r--src/shared/bus-unit-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c
index 4ca614f647..aae69f6da5 100644
--- a/src/shared/bus-unit-util.c
+++ b/src/shared/bus-unit-util.c
@@ -862,7 +862,7 @@ static void log_job_error_with_service_result(const char* service, const char *r
service_shell_quoted = shell_maybe_quote(service);
- if (extra_args && extra_args[1]) {
+ if (extra_args) {
_cleanup_free_ char *t;
t = strv_join((char**) extra_args, " ");