Kaynağa Gözat

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

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
wangkx 5 yıl önce
ebeveyn
işleme
c17684ab5e

+ 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);