summaryrefslogtreecommitdiff
path: root/src/rc/rc-depend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc-depend.c')
-rw-r--r--src/rc/rc-depend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-depend.c b/src/rc/rc-depend.c
index 33a50f0..908cf3a 100644
--- a/src/rc/rc-depend.c
+++ b/src/rc/rc-depend.c
@@ -107,7 +107,7 @@ int rc_depend(int argc, char **argv)
int options = RC_DEP_TRACE;
bool first = true;
bool update = false;
- char *runlevel = xstrdup(getenv("RC_SOFTLEVEL"));
+ char *runlevel = xstrdup(getenv("RC_RUNLEVEL"));
int opt;
char *token;