From 3f2a94231b68f8a2d5ebdbbf3b17c82288a9e1b7 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Sat, 2 Apr 2022 16:28:13 +0200 Subject: [PATCH] check unpersisted state for every command --- minifirewall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minifirewall b/minifirewall index dc4ff64..e118b82 100755 --- a/minifirewall +++ b/minifirewall @@ -1035,9 +1035,10 @@ reset() { echo "${NAME} version ${VERSION}" source_configuration +check_unpersisted_state + case "${1:-''}" in start) - check_unpersisted_state start ;; @@ -1054,7 +1055,6 @@ case "${1:-''}" in ;; restart) - check_unpersisted_state stop start ;;