[Redis] redis-cli suppress auth warning

This commit is contained in:
FreddleSpl0it
2024-11-19 15:10:52 +01:00
parent b0de756a7c
commit 6831f94fdb
13 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
source /source_env.sh
MAX_AGE=$(redis-cli --raw -h redis-mailcow -a ${REDISPASS} GET Q_MAX_AGE)
MAX_AGE=$(redis-cli --raw -h redis-mailcow -a ${REDISPASS} --no-auth-warning GET Q_MAX_AGE)
if [[ -z ${MAX_AGE} ]]; then
echo "Max age for quarantine items not defined"