summaryrefslogtreecommitdiff
path: root/community/sshguard/sshguard-journalctl
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-10 01:37:49 -0700
committerroot <root@rshg054.dnsready.net>2013-09-10 01:37:49 -0700
commitf5039428394b8715a685c006ab4c7421f45d0aff (patch)
treef5330d39e85a451f7ebfdc2ebbaac0b011c77a7b /community/sshguard/sshguard-journalctl
parent25f164e4d715807385e621f21bf1715d64d925a8 (diff)
Tue Sep 10 01:36:04 PDT 2013
Diffstat (limited to 'community/sshguard/sshguard-journalctl')
-rw-r--r--community/sshguard/sshguard-journalctl4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/sshguard/sshguard-journalctl b/community/sshguard/sshguard-journalctl
index fb106f5b6..e9bb14c5f 100644
--- a/community/sshguard/sshguard-journalctl
+++ b/community/sshguard/sshguard-journalctl
@@ -1,2 +1,4 @@
#!/bin/sh
-/usr/bin/journalctl -afbp info -n1 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/bin/sshguard -l- "$@"
+DBFILE=$1
+shift
+/usr/bin/journalctl -afb -p info -n1 "$@" | /usr/bin/sshguard -l- -b $DBFILE