epicyon/scripts/errors
2019-10-03 10:55:11 +01:00

7 lines
143 B
Shell
Executable file

#!/bin/bash
journalctl -u epicyon | grep 'File "' > .errors.txt
if [ ! -f .errors.txt ]; then
echo 'No errors'
else
cat .errors.txt
fi