From 671b4bfb37d5f7413978dcd69768c2586b2fcfeb Mon Sep 17 00:00:00 2001 From: "Christos.K" Date: Tue, 29 Aug 2017 18:00:21 +0300 Subject: removed =1 condition --- config.d/controller/modules/functions/ct_prelim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.d/controller/modules/functions/ct_prelim.sh b/config.d/controller/modules/functions/ct_prelim.sh index c27290f..4edae82 100755 --- a/config.d/controller/modules/functions/ct_prelim.sh +++ b/config.d/controller/modules/functions/ct_prelim.sh @@ -6,7 +6,7 @@ die() { } _call_backup_switch() { - if [[ "${_ctflag_bconf}" != 0 && "${_ctflag_setup}" != 0 && "${_ctflag_setup}" != 1 ]]; then + if [[ "${_ctflag_bconf}" != 0 && "${_ctflag_setup}" != 0 ]]; then _ctflag_switch=0 export _ctflag_switch else -- cgit v1.2.3-65-gdbad