aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-applets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index fe125159..865b77e2 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -322,7 +322,7 @@ do_mark_service(int argc, char **argv)
if (argc > 1)
service = argv[1];
else
- service = getenv("RC_SVCNAME");
+ service = svcname;
if (service == NULL || *service == '\0')
eerrorx("%s: no service specified", applet);