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 configure
load /config/config.new load /config/config.new
compare compare
commit commit && save
save
exit exit

Loading…
Cancel
Save