Merge pull request #2 from crowdsecurity/perms

typo
This commit is contained in:
Manuel Sabban 2021-10-18 17:16:51 +02:00 committed by GitHub
commit f8e52f1a91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
debian/postinst vendored
View file

@ -33,7 +33,7 @@ if [ "$1" = configure ]; then
chmod 600 /etc/crowdsec/local_api_credentials.yaml
fi
if [[ ! -f /etc/crowdsec/online_api_credentials.yaml ]]; then
if [[ -f /etc/crowdsec/online_api_credentials.yaml ]]; then
chmod 600 /etc/crowdsec/online_api_credentials.yaml
fi