summaryrefslogtreecommitdiff
path: root/functions/interpreter/vyatta-cfg-run
diff options
context:
space:
mode:
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
}