Browse Source

Revert "corrected NOT SET not displaying for server password"

This reverts commit cc91ee4f75.
pull/520/head
Daniel Gibbs 10 years ago
parent
commit
c184fa3a06
  1. 2
      functions/fn_details_config

2
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

Loading…
Cancel
Save