mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 19:28:28 +00:00
Fix inconsistent naming issue when map does not exist
This commit is contained in:
parent
3bc935302f
commit
64bf16ce87
@ -2913,7 +2913,7 @@ doBackup(){
|
||||
else
|
||||
echo "${NORMAL}\e[68G[ ${RED}FAILED${NORMAL} ]"
|
||||
cimapfile="$(find "${savedir}" -maxdepth 1 -iname "${mapname}.ark" -or -iname "${mapname}.tmp" | head -n1)"
|
||||
if [ -n "${mapfile}" ]; then
|
||||
if [ -n "${cimapfile}" ]; then
|
||||
logprint "Inconsistent casing in map name - ${mapname}.ark does not exist, but ${cimapfile##*/} does"
|
||||
else
|
||||
logprint "Saved ark file could not be found"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user