Explorar o código

You can remain quiet now tmux, we know you're here

UltimateByte %!s(int64=8) %!d(string=hai) anos
pai
achega
aed05e2dc1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/check_status.sh

+ 1 - 1
lgsm/functions/check_status.sh

@@ -32,5 +32,5 @@ elif [ "${gamename}" == "Mumble" ]; then
 		status=1
 	fi
 else
-	status=$(tmux list-sessions -F "#{session_name}" | grep -Ecx "^${servicename}")
+	status=$(tmux list-sessions -F "#{session_name}" 2>/dev/null | grep -Ecx "^${servicename}")
 fi