Explorar o código

Revert "corrected NOT SET not displaying for server password"

This reverts commit cc91ee4f750ef315e6e7d7d836ed61375019b3e8.
Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
c184fa3a06
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/fn_details_config

+ 1 - 1
functions/fn_details_config

@@ -309,7 +309,7 @@ elif [ "${engine}" == "source" ] || [ "${engine}" == "goldsource" ]; then
 
 	# server password
 	if [ -f "${servercfgfullpath}" ]; then
-		serverpassword=$(grep "sv_password" "${servercfgfullpath}" | sed 's/sv_password //g' | sed 's/"//g')
+		serverpassword=$(grep "sv_password" "${servercfgfullpath}" | sed 's/sv_password//g' | sed 's/"//g')
 		if [ ! -n "${serverpassword}" ]; then
 			serverpassword="NOT SET"
 		fi