diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rc/rc-applets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c index 21562f0d..4bc5bdb4 100644 --- a/src/rc/rc-applets.c +++ b/src/rc/rc-applets.c @@ -295,7 +295,7 @@ do_service(int argc, char **argv) eerrorx("%s: no service specified", applet); state = rc_service_state(service); - bit = lookup_service_state(service); + bit = lookup_service_state(applet); if (bit) { ok = (state & bit); } else if (strcmp(applet, "service_started_daemon") == 0) { |