mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 02:48:27 +00:00
Warn when the SavedArks directory is not writable
This commit is contained in:
parent
ab6bf806dc
commit
326d753b40
@ -195,6 +195,14 @@ checkConfig() {
|
||||
echo -e "[" "$YELLOW" "WARN" "$NORMAL" "]" "\tYour ARK server exec could not be found."
|
||||
fi
|
||||
|
||||
# SavedArks directory
|
||||
if [ -n "$arkserverroot" ]; then
|
||||
local savedarksdir="${arkserverroot}/ShooterGame/Saved/${ark_AltSaveDirectoryName:-SavedArks}"
|
||||
if [ ! -w "${savedarksdir}" ]; then
|
||||
echo -e "[" "$RED" "ERROR" "$NORMAL" "]" "\tThe ARK SavedArks directory is not writable, and saveworld will fail"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Service configuration
|
||||
# logdir
|
||||
if [ ! -w "$logdir" ] ; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user