Commit 722c3e34 authored by Zihong Zheng's avatar Zihong Zheng

Log error when fail to execute command in with-retry()

parent f818cbea
......@@ -40,6 +40,8 @@ function with-retry() {
sleep 3
done
echo "Failed to execute '${cmd[@]}' for $retry_limit times." >&2
return ${rc}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment