summaryrefslogtreecommitdiff
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:31:31 -0700
commitff8a3402ca54a2cc60e44989ea9581dc9dc3d73d (patch)
treedb393c295bfbad7ba810d2fcac973f54538801d5
parent8eac9bf237c5c3718e8d600e68b0b4418a8a195a (diff)
downloadvyatta-cfg-ff8a3402ca54a2cc60e44989ea9581dc9dc3d73d.tar.gz
vyatta-cfg-ff8a3402ca54a2cc60e44989ea9581dc9dc3d73d.zip
Bugfix: 8057 fix call to commit in commit-confirm function
-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
}