diff options
-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 4bc5bdb4..4481b083 100644 --- a/src/rc/rc-applets.c +++ b/src/rc/rc-applets.c @@ -343,7 +343,7 @@ do_mark_service(int argc, char **argv) if (service == NULL || *service == '\0') eerrorx("%s: no service specified", applet); - if (strncmp(applet, "mark_", 5) && + if (!strncmp(applet, "mark_", 5) && (bit = lookup_service_state(applet + 5))) ok = rc_service_mark(service, bit); else |