epicyon/scripts/keyfailures

8 lines
170 B
Plaintext
Raw Normal View History

2020-08-24 17:39:52 +00:00
#!/bin/bash
journalctl -u epicyon | grep 'could not be' > .keyfailures.txt
if [ ! -f .keyfailures.txt ]; then
echo 'No key failures'
else
cat .keyfailures.txt
fi