]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: show extra args if defined (#5379)
authorAdrián López <adrianlzt@gmail.com>
Fri, 17 Feb 2017 20:27:45 +0000 (21:27 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 Feb 2017 20:27:45 +0000 (15:27 -0500)
src/shared/bus-unit-util.c

index 4ca614f64764f6c9fe0321e6cf99d0a358a99104..aae69f6da5f4079e38dab09f0b9e8466fccbb4a9 100644 (file)
@@ -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, " ");