summaryrefslogtreecommitdiff
path: root/tcwg-rsync-dir.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-11-21 14:02:48 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-11-21 14:02:48 +0000
commit1aa722d8a8ff64bf600154a966321e994e4d012d (patch)
treea345eaa76a2268028560c697997ce75eebc9222f /tcwg-rsync-dir.sh
parent9e8a07be904d7917d943904afae5cc11363f9ad0 (diff)
tcwg-rsync-dir.sh: Add progress message
To help debug timeout problems, print the name of the machine when waiting for rsync completion. Currently with set -x, we have: + for M in '$todo_machines' + set +e + wait 28004 + results[$M]=0 it would be better if $M was expanded... so this patch explicitly prints the machine name ($M). Change-Id: I09976ce1640a44bb84b1841d8d0e9b76b16a52b8
Diffstat (limited to 'tcwg-rsync-dir.sh')
-rwxr-xr-xtcwg-rsync-dir.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcwg-rsync-dir.sh b/tcwg-rsync-dir.sh
index 6a2fe601..fe44aa27 100755
--- a/tcwg-rsync-dir.sh
+++ b/tcwg-rsync-dir.sh
@@ -41,6 +41,7 @@ done
for M in $todo_machines; do
set +e
+ echo "Waiting completion for $M..."
wait ${pids[$M]}
results[$M]=$?
set -e