From 6862111ecf9e69a1bc400bda449f410885e0c7a3 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Sun, 19 Feb 2017 18:03:15 +0100 Subject: systemctl: fix error messages (#5389) --- src/systemctl/systemctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/systemctl/systemctl.c') diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 60f8bc3df5..a0f9af7b99 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -7540,7 +7540,7 @@ static int systemctl_parse_argv(int argc, char *argv[]) { case ARG_STATE: { if (isempty(optarg)) { - log_error("--signal requires arguments."); + log_error("--state requires arguments."); return -EINVAL; } @@ -7549,7 +7549,7 @@ static int systemctl_parse_argv(int argc, char *argv[]) { r = extract_first_word(&p, &s, ",", 0); if (r < 0) - return log_error_errno(r, "Failed to parse signal: %s", optarg); + return log_error_errno(r, "Failed to parse state: %s", optarg); if (r == 0) break; -- cgit v1.2.1