From 3a58ca47eee903383695866a14ade3beee0f10cc Mon Sep 17 00:00:00 2001 From: Alan Jenkins Date: Tue, 7 Nov 2017 16:18:10 +0000 Subject: [PATCH] systemctl: remove extra space character in output (#7250) > See "systemctl status fail-stop.service" and "journalctl -xe" for > details. --- src/shared/bus-unit-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index 92a42b4..b891d24 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, " "); -- 2.7.4