瀏覽代碼

fix: update warning message for missing SteamCMD

The commit updates the warning message in the code to indicate that SteamCMD is not installed instead of being missing. Additionally, it modifies the log message accordingly.
Daniel Gibbs 2 年之前
父節點
當前提交
cfe8b3090d
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      lgsm/modules/core_steamcmd.sh

+ 3 - 3
lgsm/modules/core_steamcmd.sh

@@ -46,12 +46,12 @@ fn_check_steamcmd() {
 		if [ "${commandname}" == "INSTALL" ]; then
 			fn_install_steamcmd
 		else
-			fn_print_warn_nl "SteamCMD is missing"
-			fn_script_log_warn "SteamCMD is missing"
+			fn_print_warn_nl "SteamCMD is not installed"
+			fn_script_log_warn "SteamCMD is not installed"
 			fn_install_steamcmd
 		fi
 	elif [ "${commandname}" == "INSTALL" ]; then
-		echo -e "SteamCMD is already installed"
+		echo -en "SteamCMD is already installed"
 		fn_print_skip_eol_nl
 	fi
 }