mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-24 05:19:51 +00:00
Merge pull request #4795 from pi-hole/fix/mkdir_always
Logic fix for hotfix
This commit is contained in:
commit
a28d691387
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue