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);
|
logmsg(LOG_MARK|LOG_INFO, "-- MARK --", LocalHostName, ADDDATE|MARK);
|
||||||
MarkSeq -= MarkInterval;
|
MarkSeq -= MarkInterval;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef SYSV
|
#ifdef SYSV
|
||||||
for (lognum = 0; lognum <= nlogs; lognum++) {
|
for (lognum = 0; lognum <= nlogs; lognum++) {
|
||||||
@ -2207,7 +2208,6 @@ void domark()
|
|||||||
DupesPending--;
|
DupesPending--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
(void) signal(SIGALRM, domark);
|
(void) signal(SIGALRM, domark);
|
||||||
|
|
||||||
LastAlarm = MarkInterval - MarkSeq;
|
LastAlarm = MarkInterval - MarkSeq;
|
||||||
|
Loading…
Reference in New Issue
Block a user