fix: Check if logfile exists

This commit is contained in:
Kroese 2025-10-07 02:21:41 +02:00 committed by GitHub
parent fc7ab22741
commit 1fe97ae5d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -327,7 +327,7 @@ configurePasst() {
tail -fn +0 "$log" &
else
if [[ "$DEBUG" == [Yy1]* ]]; then
cat "$log" && echo ""
[ -f "$log" ] && cat "$log" && echo ""
fi
fi