Browse Source

dev null

pull/947/head
UltimateByte 9 years ago
committed by GitHub
parent
commit
62a308e729
  1. 3
      Mumble/mumbleserver

3
Mumble/mumbleserver

@ -45,9 +45,10 @@ servercfgdir="${filesdir}"
servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${rootdir}/backups"
if [ -f "${servercfgfullpath}" ]; then
port=$(cat "${servercfgfullpath}" | grep 'port=' | awk -F'=' '{ print $2 }')
port=$(cat "${servercfgfullpath}" > /dev/null 2>&1 | grep 'port=' | awk -F'=' '{ print $2 }')
servername="Mumble Port ${port}"
else
ip=""
port="UNKNOWN"
servername="Mumble"
fi

Loading…
Cancel
Save