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:
authorAdam Warner <me@adamwarner.co.uk>2022-07-07 22:18:18 +0300
committerGitHub <noreply@github.com>2022-07-07 22:18:18 +0300
commit04abc4dacdfa1f297e05c1689021b30cbbb7822b (patch)
tree89e30e5ec7b3ec68eb0e17ba4c9eb4aca5c3d535
parent1be082a0e15fb7d12580db8b1f736fad4745b26a (diff)
parentfd41801977746ee1b3845bd8908b4315784f384b (diff)
Merge pull request #4792 from pi-hole/fix/mkdir_logsv5.11.1
Create new log directory
-rwxr-xr-xautomated install/basic-install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index 9680e9f9..939f4b45 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -2809,6 +2809,7 @@ main() {
# Remaining log files
if [ -f /var/log/pihole.log ] && [ ! -L /var/log/pihole.log ]; then
+ mkdir -p /var/log/pihole/
mv /var/log/pihole*.* /var/log/pihole/ 2>/dev/null
fi