Don't check ark directories outside instance

This commit is contained in:
Ben Peddell 2020-01-29 09:24:23 +10:00
parent 3ddbcf097b
commit c116e12b2a

View File

@ -300,7 +300,7 @@ checkConfig() {
fi
# Environment configuration
if [ "$1" != "install" ]; then
if [ "$1" != "install" ] && [ -n "$instance" ]; then
# arkserverexec
if [ -n "$arkserverroot" ] && [ ! -f "$arkserverroot/$arkserverexec" ] ; then
echo -e "[" "$YELLOW" "WARN" "$NORMAL" "]" "\tYour ARK server exec could not be found."