diff options
author | Tomas Heinrich <theinric@redhat.com> | 2013-06-03 15:09:07 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-10 18:04:15 +0200 |
commit | 6138ced6ce4abbaccf4c45f7b69a14811feb96ad (patch) | |
tree | 81f3e1d69b97222937b936327b258f25c196be18 | |
parent | dc4d262886742b2b4085a0be5f30c8a5299fc6f2 (diff) | |
download | rsyslog-6138ced6ce4abbaccf4c45f7b69a14811feb96ad.tar.gz rsyslog-6138ced6ce4abbaccf4c45f7b69a14811feb96ad.tar.bz2 rsyslog-6138ced6ce4abbaccf4c45f7b69a14811feb96ad.zip |
imuxsock: don't report an error message for $OmitLocalLogging
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index c503852c..dad09ab4 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -1284,6 +1284,8 @@ BEGINactivateCnfPrePrivDrop instanceConf_t *inst; CODESTARTactivateCnfPrePrivDrop runModConf = pModConf; + if(runModConf->bOmitLocalLogging && nfd == 1) + ABORT_FINALIZE(RS_RET_OK); for(inst = runModConf->root ; inst != NULL ; inst = inst->next) { addListner(inst); } @@ -1325,6 +1327,8 @@ BEGINrunInput #endif CODESTARTrunInput + if(runModConf->bOmitLocalLogging && nfd == 1) + ABORT_FINALIZE(RS_RET_OK); /* this is an endless loop - it is terminated when the thread is * signalled to do so. This, however, is handled by the framework, * right into the sleep below. |