forked from evolix/evocheck
IS_LXC_PHP_FPM_SERVICE_UMASK_SET: fix inverted test condition.
This commit is contained in:
parent
1bb00c10bd
commit
e21c4e8233
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue