From 1f5072421e07ec6e6af7efbf339f3b9840494e52 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Tue, 24 Apr 2012 03:49:04 +0200 Subject: Remove duplicate getenv("RC_SVCNAME") call --- src/rc/rc-applets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc') 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); -- cgit v1.2.3