aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/rc-applets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index 42f839fa..513e2d93 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -367,7 +367,7 @@ static int rc_service(_unused int argc, char **argv)
char *service = rc_service_resolve(argv[1]);
if (!service)
- eerrorx("%s: service `%s' does not exist", applet, optarg);
+ eerrorx("%s: service `%s' does not exist", applet, argv[1]);
*++argv = service;
execv(*argv, argv);