aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-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 75453838..e6472bdb 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 */