mirror of
https://github.com/opnsense/src.git
synced 2026-05-19 08:25:22 -04:00
Fix init to correctly detect processes that are exiting multiple
times per second.
This commit is contained in:
parent
302cf5869a
commit
bb2e87c4a2
1 changed files with 1 additions and 1 deletions
|
|
@ -1084,7 +1084,7 @@ start_getty(sp)
|
|||
int too_quick = 0;
|
||||
char term[64], *env[2];
|
||||
|
||||
if (current_time > sp->se_started &&
|
||||
if (current_time >= sp->se_started &&
|
||||
current_time - sp->se_started < GETTY_SPACING) {
|
||||
if (++sp->se_nspace > GETTY_NSPACE) {
|
||||
sp->se_nspace = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue