mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-11 14:34:44 +00:00
Logic fix
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
ef71ca05a9
commit
56a32047b8
1 changed files with 1 additions and 1 deletions
|
@ -2796,7 +2796,7 @@ main() {
|
||||||
|
|
||||||
stop_service pihole-FTL &> /dev/null
|
stop_service pihole-FTL &> /dev/null
|
||||||
|
|
||||||
if [ -d /var/log/pihole/ ]; then
|
if [ ! -d /var/log/pihole/ ]; then
|
||||||
mkdir /var/log/pihole/
|
mkdir /var/log/pihole/
|
||||||
chmod 0775 /var/log/pihole/
|
chmod 0775 /var/log/pihole/
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue