epicyon/scripts/exceptions

8 lines
157 B
Plaintext
Raw Normal View History

2021-11-01 10:27:20 +00:00
#!/bin/bash
journalctl -u epicyon | grep 'EX: ' > .exceptions.txt
if [ ! -f .exceptions.txt ]; then
echo 'No exceptions'
else
cat .exceptions.txt
fi