Bug 24993: fix increment

Aparently ((i++)) isn't portable, changed for an admittedly uglier
but functional increment.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
Liz Rea 2020-04-09 15:50:04 +00:00 committed by Joy Nelson
parent 121ea7e96c
commit cfd8e38fd8
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ restart_sip()
MAX_ITERATION=10
while is_sip_running ${name}; do
((i++))
i=$((i+1))
if [ $MAX_ITERATION -lt $i ]; then
break
fi