瀏覽代碼

bash syntax

UltimateByte 7 年之前
父節點
當前提交
d209743012
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lgsm/functions/command_wipe.sh

+ 1 - 1
lgsm/functions/command_wipe.sh

@@ -151,7 +151,7 @@ fn_wipe_server_remove_files(){
 				fn_script_log_info "No blueprint file to remove."
 				sleep 0.5
 			fi
-		elif [ -n "$(find "${serveridentitydir}" -type f -name "player.blueprints.*.db")" ]
+		elif [ -n "$(find "${serveridentitydir}" -type f -name "player.blueprints.*.db")" ]; then
 				fn_print_information_nl "Keeping blueprints"
 				fn_script_log_info "Keeping blueprints."
 				sleep 0.5