Fix Bashate E043 - Arithmetic compound has inconsistent return semantics
Change ((RETRY++)) to $((RETRY++)) to fix bashate E043 errors. Change-Id: I1d7f96a4d743871f6afa4bc971219a5d427cb49b
This commit is contained in:
parent
c7f141dbab
commit
4ebf7974ef
@ -48,7 +48,7 @@ function successerator {
|
|||||||
# Set the initial return value to failure.
|
# Set the initial return value to failure.
|
||||||
false
|
false
|
||||||
while [ $? -ne 0 -a ${RETRY} -lt ${MAX_RETRIES} ];do
|
while [ $? -ne 0 -a ${RETRY} -lt ${MAX_RETRIES} ];do
|
||||||
((RETRY++))
|
$((RETRY++))
|
||||||
if [ ${RETRY} -gt 1 ];then
|
if [ ${RETRY} -gt 1 ];then
|
||||||
$@ -vvvv
|
$@ -vvvv
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user