summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-cfg-cmd-wrapper4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vyatta-cfg-cmd-wrapper b/scripts/vyatta-cfg-cmd-wrapper
index 2d22235..6eeff99 100755
--- a/scripts/vyatta-cfg-cmd-wrapper
+++ b/scripts/vyatta-cfg-cmd-wrapper
@@ -85,6 +85,10 @@ case "$1" in
/opt/vyatta/sbin/my_commit -e -d >> /tmp/bar
RET_STATUS=$?
;;
+ commit_with_error)
+ /opt/vyatta/sbin/my_commit -e
+ RET_STATUS=$?
+ ;;
save)
/opt/vyatta/sbin/vyatta-save-config.pl "${@:2}"
RET_STATUS=$?