summaryrefslogtreecommitdiff
path: root/src/conf_mode
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:32:52 +0200
commitb5590ef4f739f53be93fc1f50187e01654fc2310 (patch)
tree94c36ea642907546a295eb0cb8bbd23cec5f0ae2 /src/conf_mode
parent006d77eac795acfbe28dbdb73cd08249ca0e5fc7 (diff)
downloadvyos-1x-b5590ef4f739f53be93fc1f50187e01654fc2310.tar.gz
vyos-1x-b5590ef4f739f53be93fc1f50187e01654fc2310.zip
[VRRP] T1371: add quotes around the health check script string.
Diffstat (limited to 'src/conf_mode')
-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