7 lines
170 B
Shell
Executable file
7 lines
170 B
Shell
Executable file
#!/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
|