aboutsummaryrefslogtreecommitdiffstats
path: root/src/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched.c')
-rw-r--r--src/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched.c b/src/sched.c
index e4b51355..f278c426 100644
--- a/src/sched.c
+++ b/src/sched.c
@@ -306,7 +306,7 @@ sched_report_shutdown(void)
void
sched_try_shutdown(uint_fast8_t reason)
{
- if (shutdown_status != 2)
+ if (!shutdown_status)
sched_shutdown(reason);
}