mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-23 21:09:48 +00:00
Merge pull request #4792 from pi-hole/fix/mkdir_logs
Create new log directory
This commit is contained in:
commit
04abc4dacd
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue