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:
Byron McCollum 2016-03-07 07:29:07 -06:00
parent c7f141dbab
commit 4ebf7974ef

View File

@ -48,7 +48,7 @@ function successerator {
# Set the initial return value to failure.
false
while [ $? -ne 0 -a ${RETRY} -lt ${MAX_RETRIES} ];do
((RETRY++))
$((RETRY++))
if [ ${RETRY} -gt 1 ];then
$@ -vvvv
else