#!/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