epicyon/errors

8 lines
143 B
Bash
Executable File

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