mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-25 15:58:27 +00:00
Don't check ark directories outside instance
This commit is contained in:
parent
3ddbcf097b
commit
c116e12b2a
@ -300,7 +300,7 @@ checkConfig() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Environment configuration
|
# Environment configuration
|
||||||
if [ "$1" != "install" ]; then
|
if [ "$1" != "install" ] && [ -n "$instance" ]; then
|
||||||
# arkserverexec
|
# arkserverexec
|
||||||
if [ -n "$arkserverroot" ] && [ ! -f "$arkserverroot/$arkserverexec" ] ; then
|
if [ -n "$arkserverroot" ] && [ ! -f "$arkserverroot/$arkserverexec" ] ; then
|
||||||
echo -e "[" "$YELLOW" "WARN" "$NORMAL" "]" "\tYour ARK server exec could not be found."
|
echo -e "[" "$YELLOW" "WARN" "$NORMAL" "]" "\tYour ARK server exec could not be found."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user