1
0
Fork 0
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:
lotigara 2024-07-20 14:45:19 +03:00
parent 593426f6b6
commit a179628519

View file

@ -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