summaryrefslogtreecommitdiffstats
path: root/omshell.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-26 10:50:06 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-26 10:50:06 +0000
commit1904ce3f5aa11f190c881ccda650c1f464fe9271 (patch)
treed912404f4ab5596f21e2ab7a9aed9505b2b88f0c /omshell.c
parent334a663dd1cc2ad6a4377f39ae0f03c1bee55fe6 (diff)
downloadrsyslog-1904ce3f5aa11f190c881ccda650c1f464fe9271.tar.gz
rsyslog-1904ce3f5aa11f190c881ccda650c1f464fe9271.tar.xz
rsyslog-1904ce3f5aa11f190c881ccda650c1f464fe9271.zip
- removed f_type from omshell.c, omdiscard.c, omusrmsg.c, ommysql.c
- removed f_type from syslogd.c/cflineParseFileName() - fixed bug in omfile.c which could lead to invalid addressing if "-" was given to not sync file - removed f_type from omfile.c
Diffstat (limited to 'omshell.c')
-rw-r--r--omshell.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/omshell.c b/omshell.c
index b6aed55b..b1a77aca 100644
--- a/omshell.c
+++ b/omshell.c
@@ -106,10 +106,7 @@ CODESTARTparseSelectorAct
case '^': /* bkalkbrenner 2005-09-20: execute shell command */
dprintf("exec\n");
++p;
- if((iRet = cflineParseFileName(f, p, (uchar*) pData->progName)) == RS_RET_OK)
- if (f->f_type == F_FILE) {
- f->f_type = F_SHELL;
- }
+ iRet = cflineParseFileName(f, p, (uchar*) pData->progName);
break;
default:
iRet = RS_RET_CONFLINE_UNPROCESSED;