aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/librc/librc-depend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c
index d3a3f78b..0327620b 100644
--- a/src/librc/librc-depend.c
+++ b/src/librc/librc-depend.c
@@ -445,7 +445,7 @@ static void visit_service(const RC_DEPTREE *deptree,
/* We've visited everything we need, so add ourselves unless we
are also the service calling us or we are provided by something */
- svcname = getenv("SVCNAME");
+ svcname = getenv("RC_SVCNAME");
if (! svcname || strcmp(svcname, depinfo->service) != 0)
if (! get_deptype(depinfo, "providedby")) {
if (! *sorted)