only save if commit succeeds

master
Marek Isalski 6 years ago
parent 495dc7acf6
commit 87807af1d4

@ -3,6 +3,5 @@ source /opt/vyatta/etc/functions/script-template
configure
load /config/config.new
compare
commit
save
commit && save
exit

Loading…
Cancel
Save