summaryrefslogtreecommitdiffstats
path: root/sbin/init
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1995-08-08 06:49:59 +0000
committermpp <mpp@FreeBSD.org>1995-08-08 06:49:59 +0000
commit803ee03130010d282734e5ce86a40204145713c9 (patch)
treea31d7ac410914b13c3deb24ea9580c9e2baaabf6 /sbin/init
parentf24102e64034c8c99982bb036a618a94040fcf76 (diff)
downloadFreeBSD-src-803ee03130010d282734e5ce86a40204145713c9.zip
FreeBSD-src-803ee03130010d282734e5ce86a40204145713c9.tar.gz
Fix init to correctly detect processes that are exiting multiple
times per second.
Diffstat (limited to 'sbin/init')
-rw-r--r--sbin/init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index 5164f5a..f06b2dc 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -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;
OpenPOWER on IntegriCloud