summaryrefslogtreecommitdiff
path: root/src/rc/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r--src/rc/rc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index 7545383..e6472bd 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -1092,6 +1092,7 @@ int main(int argc, char **argv)
going_down = true;
rc_runlevel_set(newlevel);
setenv("RC_RUNLEVEL", newlevel, 1);
+ setenv("RC_GOINGDOWN", "YES", 1);
#ifdef __FreeBSD__
/* FIXME: we shouldn't have todo this */