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

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