a bit more verbose
This commit is contained in:
parent
3c1e8a2565
commit
7275cf3899
@ -6,6 +6,8 @@ function g_retrycmd {
|
|||||||
# If retrys not set default to 5 times
|
# If retrys not set default to 5 times
|
||||||
[ -z "$g_tries" ] && g_tries=5
|
[ -z "$g_tries" ] && g_tries=5
|
||||||
|
|
||||||
|
>&2 echo "$(g_date_print) Trying $@"
|
||||||
|
|
||||||
local g_try=0
|
local g_try=0
|
||||||
until [ $g_try -eq $g_tries ]
|
until [ $g_try -eq $g_tries ]
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user