Correct logic: flush log files independed of MARK
This commit is contained in:
parent
7bded835a2
commit
91b3e07d6e
@ -2191,6 +2191,7 @@ void domark()
|
||||
logmsg(LOG_MARK|LOG_INFO, "-- MARK --", LocalHostName, ADDDATE|MARK);
|
||||
MarkSeq -= MarkInterval;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef SYSV
|
||||
for (lognum = 0; lognum <= nlogs; lognum++) {
|
||||
@ -2207,7 +2208,6 @@ void domark()
|
||||
DupesPending--;
|
||||
}
|
||||
}
|
||||
}
|
||||
(void) signal(SIGALRM, domark);
|
||||
|
||||
LastAlarm = MarkInterval - MarkSeq;
|
||||
|
Loading…
Reference in New Issue
Block a user