mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 07:20:41 +01:00
bugfix: actions were not correctly retried; caused message loss
This commit is contained in:
parent
6be70e1b61
commit
056c60ec3d
@ -1,5 +1,6 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.12.1 (rgerhards), 2008-03-??
|
||||
- bugfix: actions were not correctly retried; caused message loss
|
||||
- improved debugging support; debug runtime options can now be set via
|
||||
an environment variable
|
||||
- added library plugins, which can be automatically loaded
|
||||
|
||||
5
action.c
5
action.c
@ -405,7 +405,10 @@ actionCallDoAction(action_t *pAction, msg_t *pMsg)
|
||||
/* first check if we are suspended and, if so, retry */
|
||||
if(actionIsSuspended(pAction)) {
|
||||
iRet = actionTryResume(pAction);
|
||||
bCallAction = 0;
|
||||
if(iRet == RS_RET_OK)
|
||||
bCallAction = 1;
|
||||
else
|
||||
bCallAction = 0;
|
||||
} else {
|
||||
bCallAction = 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user