echo on sterr for pipes
This commit is contained in:
parent
0e194aaa09
commit
530d1ae511
@ -10,7 +10,7 @@ function g_retrycmd {
|
||||
until [ $g_try -eq $g_tries ]
|
||||
do
|
||||
((g_try=g_try+1))
|
||||
echo "$(g_date_print) Try $g_try of $g_tries"
|
||||
>&2 echo "$(g_date_print) Try $g_try of $g_tries"
|
||||
echo "$@" >$g_tmp/g_retrycmd.cmd
|
||||
bash $g_tmp/g_retrycmd.cmd && break
|
||||
g_return=$?
|
||||
|
Loading…
Reference in New Issue
Block a user