From 7275cf389951396390283b741fd6981acb3d4ad6 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 6 Dec 2022 13:58:54 +0100 Subject: [PATCH] a bit more verbose --- gaboshlib/g_retrycmd.bashfunc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gaboshlib/g_retrycmd.bashfunc b/gaboshlib/g_retrycmd.bashfunc index 3ecf404..b805fbd 100644 --- a/gaboshlib/g_retrycmd.bashfunc +++ b/gaboshlib/g_retrycmd.bashfunc @@ -6,6 +6,8 @@ function g_retrycmd { # If retrys not set default to 5 times [ -z "$g_tries" ] && g_tries=5 + >&2 echo "$(g_date_print) Trying $@" + local g_try=0 until [ $g_try -eq $g_tries ] do