Merge pull request #56 from giodamelio/update-healthcheck-tmux-version-regex

Really fix the tmux version parse for real this time
This commit is contained in:
Morantron 2018-11-08 09:17:34 +01:00 committed by GitHub
commit db8719ee38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ function perform_health_check() {
local healthy=1
# BASH_VERSION is a global
local TMUX_VERSION=$(tmux -V | grep -Eio "([0-9]+(\.[0-9]))(?:-rc)?$")
local TMUX_VERSION=$(tmux -V | grep -Eio "([0-9]+(\.[0-9]))(?:-rc)?")
local GAWK_VERSION=""
if [[ $(program_exists "gawk") = "1" ]]; then