mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 12:33:07 -04:00
Thinko: don't forget to apply 'howto' in case init(8) isn't running.
This commit is contained in:
parent
35074a0a2b
commit
8f5b107b84
1 changed files with 1 additions and 2 deletions
|
|
@ -218,9 +218,8 @@ shutdown_nice(int howto)
|
|||
PROC_UNLOCK(initproc);
|
||||
} else {
|
||||
/* No init(8) running, so simply reboot. */
|
||||
kern_reboot(RB_NOSYNC);
|
||||
kern_reboot(howto | RB_NOSYNC);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue