Commit 0c2cc484 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune Committed by Denis Brækhus

Satisfy awk(1) on FreeBSD

According to the manual it should be possible to use the {n} notation in
regular expressions but for some reason it doesn't work here.
parent f96b8498
...@@ -111,7 +111,7 @@ vcl_active_file() { ...@@ -111,7 +111,7 @@ vcl_active_file() {
} }
vcl_reload_match() { vcl_reload_match() {
awk '$1 == "available" && $NF ~ /^reload_[0-9]{8}_[0-9]{6}$/'" {$1}" awk '$1 == "available" && $NF ~ /^reload_[0-9]+_[0-9]+$/'" {$1}"
} }
vcl_reload_count() { vcl_reload_count() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment