Skip to content

Commit

Permalink
Merge pull request #359 from rademacs/patch-1
Browse files Browse the repository at this point in the history
Update start_chromium_browser
  • Loading branch information
guysoft authored Dec 9, 2020
2 parents 7f034e4 + 507aaee commit 4a1f988
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ tail -n 0 -f "$logfile" | while read LOGLINE &> /dev/null; do

echo "Refreshing after crash"
echo "Restarting at `date` after a reported crash. Logline: ${LOGLINE}" >> /tmp/crashlog
[[ "${LOGLINE}" == *"ERROR"* ]] && /home/pi/scripts/refresh
[[ ("${LOGLINE}" == *"ERROR"*) || ("${LOGLINE}" == *"FATAL"*) ]] && /home/pi/scripts/refresh

done

0 comments on commit 4a1f988

Please sign in to comment.