summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/rc-applets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index 8a54a5a..e67f8c1 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -366,8 +366,8 @@ static int rc_service(_unused int argc, char **argv)
{
char *service;
- if (argc < 3)
- eerrorx("%s: you need to specify a service and command(s)",
+ if (argc < 2)
+ eerrorx("%s: you need to specify a service",
applet);
if (!(service = rc_service_resolve(argv[1])))