Преглед на файлове

Merge pull request #13214 from wangkx/h23204

HPCC-23204 Do not add extra line to ZAP eclagent log file

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman преди 5 години
родител
ревизия
b9a9bbf530
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      esp/services/ws_workunits/ws_workunitsHelpers.cpp

+ 1 - 1
esp/services/ws_workunits/ws_workunitsHelpers.cpp

@@ -1960,7 +1960,7 @@ void WsWuInfo::getWorkunitEclAgentLog(const char* fileName, const char* agentPid
         }
     }
 
-    if (buf.length() < 1)
+    if (!wuidFound)
     {
         const char * msg = "(No logfile entries found for this workunit)";
         outputALine(strlen(msg), msg, buf, outIOS);