epicyon/scripts/errors

8 lines
143 B
Plaintext
Raw Normal View History

2019-09-29 10:07:34 +00:00
#!/bin/bash
journalctl -u epicyon | grep 'File "' > .errors.txt
if [ ! -f .errors.txt ]; then
echo 'No errors'
else
cat .errors.txt
fi