Skip to content

Commit c3799d4

Browse files
committed
dpl-workflow: more protection in aggregator-workflow.sh
1 parent 397c97f commit c3799d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prodtests/full-system-test/aggregator-workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,5 +409,5 @@ if ! workflow_has_parameter CALIB_LOCAL_INTEGRATED_AGGREGATOR; then
409409
WORKFLOW+="o2-dpl-run $ARGS_ALL $GLOBALDPLOPT"
410410
[[ $WORKFLOWMODE != "print" ]] && WORKFLOW+=" --${WORKFLOWMODE} ${WORKFLOWMODE_FILE:-}"
411411
[[ $WORKFLOWMODE == "print" || "${PRINT_WORKFLOW:-}" == "1" ]] && echo "#Aggregator Workflow command:\n\n${WORKFLOW}\n" | sed -e "s/\\\\n/\n/g" -e"s/| */| \\\\\n/g" | eval cat $( [[ $WORKFLOWMODE == "dds" ]] && echo '1>&2')
412-
if [[ $WORKFLOWMODE != "print" ]]; then eval $WORKFLOW; else true; fi
412+
if [[ $WORKFLOWMODE != "print" ]] && [[ ! -z $WORKFLOW ]] && [[ $WORKFLOW != "echo '{}' | " ]]; then eval $WORKFLOW; else true; fi
413413
fi

0 commit comments

Comments
 (0)