mirror of
https://github.com/YunoHost-Apps/libretranslate_ynh.git
synced 2024-09-03 19:36:00 +02:00
Replace if with until
This commit is contained in:
parent
593426f6b6
commit
a179628519
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ pushd $install_dir
|
|||
|
||||
# ...and then kill the libretranslate WebUI / API
|
||||
# because it was started after downloading models!
|
||||
if ss -tulpen | grep '127.0.0.1:50005' ; then
|
||||
until ss -tulpen | grep '127.0.0.1:50005' ; do
|
||||
kill -INT "$LT_PID"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
popd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue