From 87807af1d45fc524da9885ec3a615e04cc3150c4 Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Tue, 14 May 2019 18:37:39 +0100 Subject: [PATCH] only save if commit succeeds --- load-configure-compare-commit.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/load-configure-compare-commit.sh b/load-configure-compare-commit.sh index 84a9d6f..5a27e0f 100644 --- a/load-configure-compare-commit.sh +++ b/load-configure-compare-commit.sh @@ -3,6 +3,5 @@ source /opt/vyatta/etc/functions/script-template configure load /config/config.new compare -commit -save +commit && save exit