epicyon/scripts/accept

8 lines
190 B
Bash
Executable File

#!/bin/bash
journalctl -u epicyon | grep -i ' follow accept ' > .accept_events.txt
if [ ! -f .accept_events.txt ]; then
echo 'No follow Accept events'
else
cat .accept_events.txt
fi