diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2016-08-20 11:42:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-20 11:42:24 +0200 |
commit | baab47d7b98a1c9679d39e777c65402255816d22 (patch) | |
tree | 934959d2126358c2538f1c5d012642cb22987313 | |
parent | 2056ec192742d45aa72a851dbd22ad1fe0bc91a2 (diff) | |
parent | 169d7fb684b39d9132de80f88c53760647f2e042 (diff) |
Merge pull request #4001 from clintonroy/master
systemctl: kill all units specified on the command line, not just theā¦
-rw-r--r-- | src/systemctl/systemctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 4444e3064d..4b87bdceb2 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -3384,9 +3384,9 @@ static int kill_unit(int argc, char *argv[], void *userdata) { "KillUnit", &error, NULL, - "ssi", *names, kill_who ? kill_who : arg_kill_who, arg_signal); + "ssi", *name, kill_who ? kill_who : arg_kill_who, arg_signal); if (q < 0) { - log_error_errno(q, "Failed to kill unit %s: %s", *names, bus_error_message(&error, q)); + log_error_errno(q, "Failed to kill unit %s: %s", *name, bus_error_message(&error, q)); if (r == 0) r = q; } |