diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-31 11:19:23 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-31 11:19:23 +0100 |
commit | 5bee185791b02b88cd458b3d55c260ab5d503b05 (patch) | |
tree | 28590be910fea6ab211c5b11f42115ce236beeff | |
parent | 17e8ec15961dc69d8874d0c07113f22cfcb0d788 (diff) | |
download | rsyslog-5bee185791b02b88cd458b3d55c260ab5d503b05.tar.gz rsyslog-5bee185791b02b88cd458b3d55c260ab5d503b05.tar.bz2 rsyslog-5bee185791b02b88cd458b3d55c260ab5d503b05.zip |
omshell: make play well with v8 output module interface
Note that this module is deprecated and only the bare necessary things
are done.
-rw-r--r-- | tools/omshell.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/omshell.c b/tools/omshell.c index 6680faab..a8ba1564 100644 --- a/tools/omshell.c +++ b/tools/omshell.c @@ -19,7 +19,7 @@ * of the "old" message code without any modifications. However, it * helps to have things at the right place one we go to the meat of it. * - * Copyright 2007-2012 Adiscon GmbH. + * Copyright 2007-2013 Adiscon GmbH. * * This file is part of rsyslog. * @@ -106,10 +106,7 @@ ENDtryResume BEGINdoAction CODESTARTdoAction - /* TODO: using pData->progName is not clean from the point of - * modularization. We'll change that as we go ahead with modularization. - * rgerhards, 2007-07-20 - */ + pData = pWrkrData->pData; dbgprintf("\n"); if(execProg((uchar*) pData->progName, 1, ppString[0]) == 0) errmsg.LogError(0, NO_ERRCODE, "Executing program '%s' failed", (char*)pData->progName); |