aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 8a54a5ac..e67f8c1a 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])))