summaryrefslogtreecommitdiff
path: root/sshguard/sshguard-journalctl
blob: 8a800ff26512d4ab8c3a37a2c819dc9c42b51404 (plain)
1
2
3
4
#!/bin/sh
SSHGUARD_OPTS=$1
shift
LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat "$@" | /usr/bin/sshguard -l- $SSHGUARD_OPTS