summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-05-08 00:32:52 +0200
committerDaniil Baturin <daniil@baturin.org>2019-05-08 00:33:38 +0200
commit95b4b1e2ec1fc518e18406da638bdc0e025310d8 (patch)
tree656a02e89015cac2592a5f668eae11539e5fc599
parent09df82d3a4ff2e0912992cb5c73d5d9fce7070dd (diff)
downloadvyos-1x-95b4b1e2ec1fc518e18406da638bdc0e025310d8.tar.gz
vyos-1x-95b4b1e2ec1fc518e18406da638bdc0e025310d8.zip
[VRRP] T1371: add quotes around the health check script string.
-rwxr-xr-xsrc/conf_mode/vrrp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vrrp.py b/src/conf_mode/vrrp.py
index bc833b63f..85c6ad580 100755
--- a/src/conf_mode/vrrp.py
+++ b/src/conf_mode/vrrp.py
@@ -39,7 +39,7 @@ config_tmpl = """
{% if group.health_check_script -%}
vrrp_script healthcheck_{{ group.name }} {
- script {{ group.health_check_script }}
+ script "{{ group.health_check_script }}"
interval {{ group.health_check_interval }}
fall {{ group.health_check_count }}
rise 1