Script to show exceptions

merge-requests/30/head
Bob Mottram 2021-11-01 10:27:20 +00:00
parent 6cb985dbba
commit 2737fc9a36
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
journalctl -u epicyon | grep 'EX: ' > .exceptions.txt
if [ ! -f .exceptions.txt ]; then
echo 'No exceptions'
else
cat .exceptions.txt
fi