- minor improvements and bug fixes
This commit is contained in:
@ -74,8 +74,15 @@ static int CronTask(void *pData)
|
||||
StatisticsEnd(old);
|
||||
MacroPop();
|
||||
if (iRet != TCL_OK) {
|
||||
if (strcmp(pTcl->result, "stop") == 0) {
|
||||
SCPrintf(self->pCon, eLogError, "sicscron script '%s' stopped",
|
||||
self->pCommand);
|
||||
self->iEnd = 0;
|
||||
return 0;
|
||||
}
|
||||
SCPrintf(self->pCon, eLogError,
|
||||
"ERROR in sicscron script: %s", pTcl->result);
|
||||
"ERROR in sicscron script '%s':", self->pCommand);
|
||||
SCPrintf(self->pCon, eLogError, "ERROR: %s", pTcl->result);
|
||||
}
|
||||
if (self->iEnd == 2) { /* dolater command */
|
||||
self->iEnd = 0;
|
||||
|
Reference in New Issue
Block a user