diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-20 15:05:42 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-20 15:05:42 +0200 |
commit | 8dd7f6e50e24d6f8f0fb0c30dc0be73086405846 (patch) | |
tree | 7cc9e2566f378bd7ad557a9c28340b89a9347114 /plugins/omprog/omprog.c | |
parent | 01782e19da3a0a134acfefc1ee48b46579d2e2ad (diff) | |
download | rsyslog-8dd7f6e50e24d6f8f0fb0c30dc0be73086405846.tar.gz rsyslog-8dd7f6e50e24d6f8f0fb0c30dc0be73086405846.tar.bz2 rsyslog-8dd7f6e50e24d6f8f0fb0c30dc0be73086405846.zip |
minor cleanup
Diffstat (limited to 'plugins/omprog/omprog.c')
-rw-r--r-- | plugins/omprog/omprog.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/omprog/omprog.c b/plugins/omprog/omprog.c index 8e94f03f..b2af9025 100644 --- a/plugins/omprog/omprog.c +++ b/plugins/omprog/omprog.c @@ -131,7 +131,6 @@ static void execBinary(instanceData *pData, int fdStdin) { int i, iRet; struct sigaction sigAct; -/* char *newargv[] = { NULL };*/ char *newenviron[] = { NULL }; assert(pData != NULL); @@ -168,10 +167,6 @@ static void execBinary(instanceData *pData, int fdStdin) dbgprintf("omprog: failed to execute binary '%s' with return code: %d\n", pData->szBinary, errno); } - /* switch to? - execlp((char*)program, (char*) program, (char*)arg, NULL); - */ - /* we should never reach this point, but if we do, we terminate */ exit(1); } |