From 97abd915772777b7bfe56c7d8574394eb9bc7058 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 19 Mar 2008 20:01:48 +0000 Subject: Report wrong service correctly. --- src/rc/rc-applets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3