From ffab7afac473d5989e40680ac31867317c0b5f64 Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Wed, 23 Apr 2025 18:42:48 +1200 Subject: [PATCH] lint: Fix bash operator --- target/scripts/startup/variables-stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/scripts/startup/variables-stack.sh b/target/scripts/startup/variables-stack.sh index dc7fb450..d2842302 100644 --- a/target/scripts/startup/variables-stack.sh +++ b/target/scripts/startup/variables-stack.sh @@ -116,7 +116,7 @@ function __environment_variables_general_setup() { # The Dovecot Quotas feature is presently only supported with the default FILE account provisioner, # Enforce disabling the feature, unless it's been explicitly set via ENV (to avoid mismatch between explicit ENV and sourcing from /etc/dms-settings) - if [[ ${ACCOUNT_PROVISIONER} != 'FILE' ]] || [[ ${SMTP_ONLY} -eq 1 ]] || [[ ${ENABLE_QUOTAS} -neq 1 ]]; then + if [[ ${ACCOUNT_PROVISIONER} != 'FILE' ]] || [[ ${SMTP_ONLY} -eq 1 ]] || [[ ${ENABLE_QUOTAS} -ne 1 ]]; then _log 'debug' "The 'ENABLE_QUOTAS' feature is enabled by default but is not compatible with your config. Disabling" VARS[ENABLE_QUOTAS]="${ENABLE_QUOTAS:=0}" else