Skip to content

Commit

Permalink
[FLINK-17375][hotfix] Fix print_stacktraces multiline-behavior
Browse files Browse the repository at this point in the history
echo $VAR   # does not preserve newlines
echo "$VAR" # does print newlines as well
  • Loading branch information
rmetzger committed May 28, 2020
1 parent f89c606 commit d7834fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ci/controller_utils.sh
Expand Up @@ -47,9 +47,9 @@ print_stacktraces () {
echo "=============================================================================="

JAVA_PROCESSES=`jps`
echo $JAVA_PROCESSES
echo "$JAVA_PROCESSES"

local pids=( $(echo $JAVA_PROCESSES | awk '{print $1}') )
local pids=( $(echo "$JAVA_PROCESSES" | awk '{print $1}') )

for pid in "${pids[@]}"; do
echo "=============================================================================="
Expand Down

0 comments on commit d7834fc

Please sign in to comment.