lesser verbose
This commit is contained in:
parent
e0753f91d7
commit
94cc0f01ef
@ -10,7 +10,7 @@ function g_retrycmd {
|
|||||||
until [ $g_try -eq $g_tries ]
|
until [ $g_try -eq $g_tries ]
|
||||||
do
|
do
|
||||||
((g_try=g_try+1))
|
((g_try=g_try+1))
|
||||||
echo "$(g_date_print) Try $g_try of $g_tries -- $@"
|
echo "$(g_date_print) Try $g_try of $g_tries"
|
||||||
$@ && break
|
$@ && break
|
||||||
g_return=$?
|
g_return=$?
|
||||||
[ $g_try -eq $g_tries ] && return $g_return
|
[ $g_try -eq $g_tries ] && return $g_return
|
||||||
|
Loading…
Reference in New Issue
Block a user