summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorhagbard <vysodev@derith.de>2018-08-11 16:09:18 -0700
committerhagbard <vysodev@derith.de>2018-08-11 16:09:18 -0700
commita8312b64a2baf0d5c604a0850f7409b0505b36dc (patch)
tree6817341127bf7ee4c2183b59dcb3148f4eb47d7e /src/system
parent1472afe76f525a38f8d3da98fa933f7b49ae10f0 (diff)
parentf1720d121911ab14f4925dd9c1075e9d05c8bf79 (diff)
downloadvyos-1x-a8312b64a2baf0d5c604a0850f7409b0505b36dc.tar.gz
vyos-1x-a8312b64a2baf0d5c604a0850f7409b0505b36dc.zip
Merge remote-tracking branch 'upstream/current' into current
Diffstat (limited to 'src/system')
-rwxr-xr-xsrc/system/vrrp-script-wrapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/vrrp-script-wrapper.py b/src/system/vrrp-script-wrapper.py
index 5d6aa6c55..ce9142b7d 100755
--- a/src/system/vrrp-script-wrapper.py
+++ b/src/system/vrrp-script-wrapper.py
@@ -58,7 +58,7 @@ if (old_state is None) or (old_state != args.state):
syslog.syslog(syslog.LOG_NOTICE, 'Running transition script {0} for VRRP group {1}'.format(args.script, args.group))
try:
- ret = subprocess.call([args.script, args.state, args.interface, args.group])
+ ret = subprocess.call("%s %s %s %s" % ( args.script, args.state, args.interface, args.group), shell=True)
if ret != 0:
syslog.syslog(syslog.LOG_ERR, "Transition script {0} failed, exit status: {1}".format(args.script, ret))
exitcode = ret