소스 검색

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
 }