summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-cfg-cmd-wrapper3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/vyatta-cfg-cmd-wrapper b/scripts/vyatta-cfg-cmd-wrapper
index a5db7d5..b0ec349 100755
--- a/scripts/vyatta-cfg-cmd-wrapper
+++ b/scripts/vyatta-cfg-cmd-wrapper
@@ -70,8 +70,7 @@ case "$1" in
export COMMIT_VIA=cfg-cmd-wrapper
${vyatta_sbindir}/my_commit -a >> /tmp/vyatta-commit.log
${vyatta_sbindir}/my_commit -s >> /tmp/vyatta-commit.log
- ${vyatta_sbindir}/my_commit -e -d >> /tmp/vyatta-commit.log
- exit 0
+ exec ${vyatta_sbindir}/my_commit -e -d >> /tmp/vyatta-commit.log
;;
commit_with_error)
exec ${vyatta_sbindir}/my_commit