From e4630e3becc32a9a0f4fff85511f02691b07ae21 Mon Sep 17 00:00:00 2001 From: James Davidson Date: Wed, 22 Aug 2012 16:03:00 -0700 Subject: If vclient exists, run it --- functions/interpreter/vyatta-cfg-run | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index e0bcfaf..4e522b5 100644 --- a/functions/interpreter/vyatta-cfg-run +++ b/functions/interpreter/vyatta-cfg-run @@ -129,6 +129,7 @@ vyatta_config_commit () /opt/vyatta/sbin/my_commit "${args[@]}" 2>&1 unset COMMIT_VIA unset COMMIT_COMMENT + [[ -x ${vyatta_sbindir}/vclient ]] && sudo ${vyatta_sbindir}/vclient -l } vyatta_config_commit-confirm () -- cgit v1.2.3