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-07 22:12:53 +0300
committerDan Schaper <dan.schaper@pi-hole.net>2022-07-07 22:12:53 +0300
commitfd41801977746ee1b3845bd8908b4315784f384b (patch)
tree539500b465233152d39eff1bc23f3529be317108
parent37889f27de2a8d815be257657bcf0a14cc76aced (diff)
Create new log directory
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
-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 3f5c972f..86f8c6c6 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -2619,6 +2619,7 @@ main() {
stop_service pihole-FTL &> /dev/null
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