forked from Mirror/Ryujinx
Also fix my brain's issues
This commit is contained in:
parent
5014a568be
commit
77c563d1e5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue