Also fix my brain's issues

This commit is contained in:
siegmund-heiss-ich 2023-05-23 00:46:57 +02:00
parent 5014a568be
commit 77c563d1e5

View file

@ -33,9 +33,9 @@ trap 'error_handler ${LINENO}' ERR
# After the third time checking, this script exits with status 1
attempt=0
while [ attempt -lt 3 ]; do
do
if lsof -p $APP_PID +r 1 &>/dev/null; then
if [ attempt -eq 2 ]; then
if [ $attempt -eq 2 ]; then
exit 1
fi
sleep 1