summaryrefslogtreecommitdiffstats
path: root/omshell.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-25 16:25:35 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-25 16:25:35 +0000
commit187ab7e123c97b3091c78f6fb86412a3cec94569 (patch)
treef8485f080dfd9a67cc42869d20005d798f64518d /omshell.c
parentcba4c88776a4d98d197c14ec9014f7abc973255e (diff)
downloadrsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.tar.gz
rsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.tar.xz
rsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.zip
moved some references to module data from syslogd.c to modules
Diffstat (limited to 'omshell.c')
-rw-r--r--omshell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omshell.c b/omshell.c
index af4e28c6..8fcd14b7 100644
--- a/omshell.c
+++ b/omshell.c
@@ -103,7 +103,7 @@ CODESTARTparseSelectorAct
case '^': /* bkalkbrenner 2005-09-20: execute shell command */
dprintf("exec\n");
++p;
- if((iRet = cflineParseFileName(f, p)) == RS_RET_OK)
+ if((iRet = cflineParseFileName(f, p, (uchar*) f->f_un.f_file.f_fname)) == RS_RET_OK)
if (f->f_type == F_FILE) {
f->f_type = F_SHELL;
}