Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Schaper <dan.schaper@pi-hole.net>2022-07-08 00:01:18 +0300
committerGitHub <noreply@github.com>2022-07-08 00:01:18 +0300
commita28d691387ebbe8bc2e017dd9b10b7a16284541d (patch)
tree0102bb4f240ecdaae69eda1559d981e39bbfa16d
parentef71ca05a9cfb49ae322a0ac9ace56b604d8a425 (diff)
parent56a32047b8e08e7520fae6915dc20f837dead50b (diff)
Merge pull request #4795 from pi-hole/fix/mkdir_alwaysv5.11.3
Logic fix for hotfix
-rwxr-xr-xautomated install/basic-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index fa8934c4..a0a98b68 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -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