Script to show exceptions

This commit is contained in:
bashrc committed 2021-11-01 10:27:20 +00:00
1 parent 6cb985dbba
commit 2737fc9a36
1 file changed
+7
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
journalctl -u epicyon | grep 'EX: ' > .exceptions.txt
if [ ! -f .exceptions.txt ]; then
echo 'No exceptions'
else
cat .exceptions.txt
fi