1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Merge pull request #4795 from pi-hole/fix/mkdir_always

Logic fix for hotfix
This commit is contained in:
Dan Schaper 2022-07-07 14:01:18 -07:00 committed by GitHub
commit a28d691387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2796,7 +2796,7 @@ main() {
stop_service pihole-FTL &> /dev/null
if [ -d /var/log/pihole/ ]; then
if [ ! -d /var/log/pihole/ ]; then
mkdir /var/log/pihole/
chmod 0775 /var/log/pihole/
fi