summaryrefslogtreecommitdiff
path: root/functions/interpreter/vyatta-cfg-run
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-04-26 14:10:22 -0700
committerJohn Southworth <john.southworth@vyatta.com>2012-04-26 14:10:22 -0700
commit60838e981bb684a2c4f4f4eb84e4105b8339eaef (patch)
treeae500ffe21549b6b7c4f871b24c504ae6edba2f1 /functions/interpreter/vyatta-cfg-run
parent1e5baaa50948f650e0b37cf8699255c13181dc7f (diff)
downloadvyatta-cfg-60838e981bb684a2c4f4f4eb84e4105b8339eaef.tar.gz
vyatta-cfg-60838e981bb684a2c4f4f4eb84e4105b8339eaef.zip
Bugfix: 8057 fix call to commit in commit-confirm function
Diffstat (limited to 'functions/interpreter/vyatta-cfg-run')
-rw-r--r--functions/interpreter/vyatta-cfg-run2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run
index 7558ffa..e0bcfaf 100644
--- a/functions/interpreter/vyatta-cfg-run
+++ b/functions/interpreter/vyatta-cfg-run
@@ -156,7 +156,7 @@ vyatta_config_commit-confirm ()
--minutes=$minutes"
eval "sudo sg vyattacfg \"$cmd\" "
if [ $? = 0 ]; then
- commit "$@"
+ vyatta_config_commit "$@"
fi
}