mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 12:51:43 +00:00
Move set -e that lsof doesn't trigger exit 1
This commit is contained in:
parent
77c563d1e5
commit
589a630610
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
INSTALL_DIRECTORY=$1
|
||||
NEW_APP_DIRECTORY=$2
|
||||
APP_PID=$3
|
||||
|
@ -45,6 +43,8 @@ do
|
|||
(( attempt++ ))
|
||||
done
|
||||
|
||||
set -e
|
||||
|
||||
# Now replace and reopen.
|
||||
rm -rf "$INSTALL_DIRECTORY"
|
||||
mv "$NEW_APP_DIRECTORY" "$INSTALL_DIRECTORY"
|
||||
|
|
Loading…
Reference in a new issue