Unexpanded and removed work comments
This commit is contained in:
parent
c04e0fa21a
commit
9cac01d9fd
|
@ -1022,11 +1022,11 @@ function ExecTasks {
|
|||
else
|
||||
# pid is dead, get its exit code from wait command
|
||||
wait $pid
|
||||
retval=$? #TODO: do we use retval codes somehow ?? where
|
||||
retval=$?
|
||||
# Check for valid exit codes
|
||||
if [ $(ArrayContains $retval "${validExitCodes[@]}") -eq 0 ]; then
|
||||
if [ $noErrorLogsAtAll != true ]; then
|
||||
Logger "${FUNCNAME[0]} called by [$id] finished monitoring pid [$pid] with exitcode [$retval]." "DEBUG" #TODO: set this to debug in order to stop complaints
|
||||
Logger "${FUNCNAME[0]} called by [$id] finished monitoring pid [$pid] with exitcode [$retval]." "DEBUG"
|
||||
if [ "$functionMode" == "ParallelExec" ]; then
|
||||
Logger "Command was [${commandsArrayPid[$pid]}]." "ERROR"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue