瀏覽代碼

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

UltimateByte 8 年之前
父節點
當前提交
aed05e2dc1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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