bug fix, start receiver fail does not return

This commit is contained in:
2018-10-10 11:24:17 +02:00
parent 9ca163dfc9
commit 4b166b726e
2 changed files with 5 additions and 3 deletions

View File

@ -1039,7 +1039,7 @@ int slsReceiverImplementation::startReceiver(char *c) {
//processor->writer
if (fileWriteEnable) {
if (SetupWriter() == FAIL) {
strcpy(c,"Could not create file.");
strcpy(c,"Could not create file.\n");
FILE_LOG(logERROR) << c;
return FAIL;
}