mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-24 13:36:01 +00:00
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
|
# After the third time checking, this script exits with status 1
|
||||||
|
|
||||||
attempt=0
|
attempt=0
|
||||||
while [ attempt -lt 3 ]; do
|
do
|
||||||
if lsof -p $APP_PID +r 1 &>/dev/null; then
|
if lsof -p $APP_PID +r 1 &>/dev/null; then
|
||||||
if [ attempt -eq 2 ]; then
|
if [ $attempt -eq 2 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Reference in a new issue