Update script

main
Bob Mottram 2023-08-28 19:06:10 +01:00
parent 0963405272
commit 1c9802091c
1 changed files with 2 additions and 2 deletions

View File

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