diff --git a/linux/CHANGELOG b/linux/CHANGELOG index 34da9ad..92df3dd 100644 --- a/linux/CHANGELOG +++ b/linux/CHANGELOG @@ -15,6 +15,7 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp ### Fixed * IS_LOCALHOST_IN_POSTFIX_MYDESTINATION: set grep quiet. +* IS_LXC_PHP_FPM_SERVICE_UMASK_SET: fix inverted test condition. ### Security diff --git a/linux/evocheck.sh b/linux/evocheck.sh index 941d903..3e15cbb 100755 --- a/linux/evocheck.sh +++ b/linux/evocheck.sh @@ -1235,7 +1235,7 @@ check_lxc_php_fpm_service_umask_set() { service="${container:0:4}.${container:4}-fpm" fi umask=$(lxc-attach --name "${container}" -- systemctl show -p UMask "$service" | cut -d "=" -f2) - if ! [ "$umask" != "0007" ]; then + if [ "$umask" != "0007" ]; then missing_umask="${missing_umask} ${container}" fi done