mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
Merge pull request #11836 from wolfgangkarall/patch-1
Fix endless looping if starting fails
This commit is contained in:
commit
0ce18954a0
@ -184,7 +184,10 @@ case "$1" in
|
||||
do
|
||||
sleep 1
|
||||
i=$(($i + 1))
|
||||
[ $i -gt $timeout ] && log_end_msg 1
|
||||
if [ $i -gt $timeout ]; then
|
||||
log_end_msg 1
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
else
|
||||
log_end_msg $return
|
||||
|
Loading…
x
Reference in New Issue
Block a user