From 62a308e72949cc667b148befc26f9e01d72d5354 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Wed, 27 Jul 2016 06:32:06 +0200 Subject: [PATCH] dev null --- Mumble/mumbleserver | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mumble/mumbleserver b/Mumble/mumbleserver index b581812e2..3f6dd7a29 100644 --- a/Mumble/mumbleserver +++ b/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