From fb51ef5e125fabc41ffed5d40cbdd75c8f08c6ab Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Fri, 2 Nov 2018 13:15:01 -0700 Subject: [PATCH] Thingaroo --- CloneStuff.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CloneStuff.sh b/CloneStuff.sh index c6873c2..c0b2dd2 100644 --- a/CloneStuff.sh +++ b/CloneStuff.sh @@ -48,8 +48,9 @@ until [ $exit_code -eq 0 ] || [ $__retryCount -ge $__retries ]; do exit_code=$? __retryCount=$((__retryCount+1)) if [ $exit_code -ne 0 ]; then - echo "Failed to execute command, retrying" + echo "$__command exited with $exit_code, retrying" fi done +echo "$__command exited with $exit_code" exit $exit_code \ No newline at end of file