From 526402adc16c3d30c2dccae1be96bb451e683c0d Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Fri, 27 Jan 2017 20:33:36 +0100 Subject: [PATCH] missing $ --- lgsm/functions/command_wipe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/command_wipe.sh b/lgsm/functions/command_wipe.sh index ec9871108..1b90bd9eb 100644 --- a/lgsm/functions/command_wipe.sh +++ b/lgsm/functions/command_wipe.sh @@ -17,7 +17,7 @@ fn_print_header fn_wipe_server(){ # Rust Wipe if [ "${gamename}" == "Rust" ]; then - if [ -d "${serveridentitydir}/storage" ]||[ -d "${serveridentitydir}/user" ]||[ -n "$(find "{serveridentitydir}" -type f -name "proceduralmap*.sav")" ]; then + if [ -d "${serveridentitydir}/storage" ]||[ -d "${serveridentitydir}/user" ]||[ -n "$(find "${serveridentitydir}" -type f -name "proceduralmap*.sav")" ]; then echo " * Any user, storage, and map data will be erased." while true; do read -e -i "y" -p "Continue? [Y/n]" yn @@ -42,7 +42,7 @@ fn_wipe_server(){ # Removes files to wipe server fn_wipe_server_remove_files(){ if [ "${gamename}" == "Rust" ]; then - if [ -n "$(find "{serveridentitydir}" -type f -name "proceduralmap*.sav")" ]; then + if [ -n "$(find "${serveridentitydir}" -type f -name "proceduralmap*.sav")" ]; then echo "Removing map" rm -f "${serveridentitydir}/proceduralmap*.sav" fi