This commit is contained in:
sabban 2021-10-18 17:15:28 +02:00
parent b576fd7c66
commit c41234e6e1

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