summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-28 17:18:04 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-28 17:18:04 +0100
commit50636ba267bb1930bce7c3baecdab8a245d52b05 (patch)
tree179f6b7c9706dbf5a3ee42cde0c642c92258da3b /tools/omfile.c
parent76ded5e98bd51d5de306f21f8abd28ee3b006be2 (diff)
downloadrsyslog-50636ba267bb1930bce7c3baecdab8a245d52b05.tar.gz
rsyslog-50636ba267bb1930bce7c3baecdab8a245d52b05.tar.xz
rsyslog-50636ba267bb1930bce7c3baecdab8a245d52b05.zip
moved pipe code to its own module
... based on old omfile. Michael Biebl reported that xconsole seems to have some issues with the new pipe code, so it was best to use the old code for pipes. The optimizations were done to speed up file access, so it doesn't really matter pipes do not receive them.
Diffstat (limited to 'tools/omfile.c')
-rw-r--r--tools/omfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index db49a05c..ad6a30e0 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -620,7 +620,7 @@ ENDdoAction
BEGINparseSelectorAct
CODESTARTparseSelectorAct
- if(!(*p == '$' || *p == '?' || *p == '|' || *p == '/' || *p == '-'))
+ if(!(*p == '$' || *p == '?' || *p == '/' || *p == '-'))
ABORT_FINALIZE(RS_RET_CONFLINE_UNPROCESSED);
CHKiRet(createInstance(&pData));