From: Adrián López Date: Fri, 17 Feb 2017 20:27:45 +0000 (+0100) Subject: systemctl: show extra args if defined (#5379) X-Git-Tag: v233~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef6e596ff031e58916d00a7800b8482a6d81f105;p=thirdparty%2Fsystemd.git systemctl: show extra args if defined (#5379) --- diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index 4ca614f6476..aae69f6da5f 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, " ");