Remove duplicate getenv("RC_SVCNAME") call

This commit is contained in:
Christian Ruppert 2012-04-24 03:49:04 +02:00
parent 4943ddcb1c
commit 1f5072421e

View File

@ -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);