Compare commits

...

2 Commits

Author SHA1 Message Date
Dan Schaper
a28d691387 Merge pull request #4795 from pi-hole/fix/mkdir_always
Logic fix for hotfix
2022-07-07 14:01:18 -07:00
Dan Schaper
56a32047b8 Logic fix
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2022-07-07 13:50:41 -07:00

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