logging
This commit is contained in:
@@ -4,7 +4,6 @@ function check() {
|
||||
PREFIX="recipe:redis:check"
|
||||
|
||||
container_running "$CONTAINER" || return 10
|
||||
echo "checking redis regarding access to its ip address <$REDIS_IP>..."
|
||||
|
||||
lxc exec "$CONTAINER" -- bash <<EOF
|
||||
set -Eeuo pipefail
|
||||
@@ -14,7 +13,6 @@ function check() {
|
||||
grep -Eq "^protected-mode no" /etc/redis/redis.conf
|
||||
EOF
|
||||
status="$?"
|
||||
[[ $status -eq 0 ]] && echo "container <$CONTAINER> approved!"
|
||||
return $status
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user