aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-04-24 03:49:04 +0200
committerChristian Ruppert <idl0r@gentoo.org>2012-04-24 03:49:04 +0200
commit1f5072421e07ec6e6af7efbf339f3b9840494e52 (patch)
tree12593215b2d8c146d5048c2c9886497691adfa29 /src/rc
parent4943ddcb1c96aed14617c97ba42a658a2c6cecf5 (diff)
Remove duplicate getenv("RC_SVCNAME") call
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);