diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-03-11 19:54:30 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-03-11 19:54:30 +0100 |
commit | f289422585ef36c39c5bc22ea20344d0c76b29ab (patch) | |
tree | d25c874c50a428fd62e55ae0ecfe52deea1de58b /tools/omfile.c | |
parent | a03d90abe1d3ac67bc5492db09e2c6e207288469 (diff) | |
download | rsyslog-f289422585ef36c39c5bc22ea20344d0c76b29ab.tar.gz rsyslog-f289422585ef36c39c5bc22ea20344d0c76b29ab.tar.xz rsyslog-f289422585ef36c39c5bc22ea20344d0c76b29ab.zip |
changed one more status setting
user feedback indicates it now looks like it is working ;)
still some more work needed for a "good" solution
Diffstat (limited to 'tools/omfile.c')
-rw-r--r-- | tools/omfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/omfile.c b/tools/omfile.c index 4bef5dbf..28bdcf2e 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -562,7 +562,7 @@ static rsRetVal writeFile(uchar **ppString, unsigned iMsgOpts, instanceData *pDa */ if(pData->bDynamicName) { if(prepareDynFile(pData, ppString[1], iMsgOpts) != 0) - ABORT_FINALIZE(RS_RET_ERR); + ABORT_FINALIZE(RS_RET_SUSPENDED); // TODO: different state? conditional based on what went wrong? 2009-03-11 } else if(pData->fd == -1) { prepareFile(pData, pData->f_fname); } |