lesser verbose

This commit is contained in:
olli 2022-12-01 13:28:55 +01:00
parent e0753f91d7
commit 94cc0f01ef

View File

@ -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