From: Alan Jenkins Date: Tue, 7 Nov 2017 16:18:10 +0000 (+0000) Subject: systemctl: remove extra space character in output (#7250) X-Git-Tag: v236~260 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a58ca47eee903383695866a14ade3beee0f10cc;p=thirdparty%2Fsystemd.git systemctl: remove extra space character in output (#7250) > See "systemctl status fail-stop.service" and "journalctl -xe" for > details. --- diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index 92a42b4718f..b891d246532 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -1301,7 +1301,7 @@ static void log_job_error_with_service_result(const char* service, const char *r service_shell_quoted = shell_maybe_quote(service, ESCAPE_BACKSLASH); - if (extra_args) { + if (!strv_isempty((char**) extra_args)) { _cleanup_free_ char *t; t = strv_join((char**) extra_args, " ");