Skip to content

Commit

Permalink
Update src/start.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik <[email protected]>
Signed-off-by: Adam Warner <[email protected]>
  • Loading branch information
PromoFaux and DL6ER authored Oct 9, 2024
1 parent b5ab72e commit 08017ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ start() {
# Get the line number
startFrom=$(grep -n '########## FTL started' /var/log/pihole/FTL.log | tail -1 | cut -d: -f1)
# Start the tail from the line number and background it
tail --follow=name -n +${startFrom} /var/log/pihole/FTL.log &
tail --follow=name --retry -n +${startFrom} /var/log/pihole/FTL.log &
else
echo " [i] FTL log output is disabled. Remove the Environment variable TAIL_FTL_LOG, or set it to 1 to enable FTL log output."
fi
Expand Down

0 comments on commit 08017ac

Please sign in to comment.