diff options
author | Daniel Hansson <github@hanssonit.se> | 2020-03-19 22:36:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 22:36:55 +0300 |
commit | b6a76b8a3c6f62f845666223914c37aa0b0df291 (patch) | |
tree | 4e7b7e04453acb4e1edb7e6dd15ec3cb8ceeb17d /apps/fail2ban.sh | |
parent | 05e692d2a152c500ecc4b6c6b6744806b6f70d9f (diff) |
only grab one occurance
Diffstat (limited to 'apps/fail2ban.sh')
-rw-r--r-- | apps/fail2ban.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/fail2ban.sh b/apps/fail2ban.sh index 4e25ccc7..cb36b4e8 100644 --- a/apps/fail2ban.sh +++ b/apps/fail2ban.sh @@ -55,7 +55,7 @@ fi ### Local variables ### # location of Nextcloud logs -NCLOG="$(find / -name nextcloud.log)" +NCLOG="$(print_text_in_color "$ICyan" "Finding nextclod.log..." && find / -name nextcloud.log -quit)" # time to ban an IP that exceeded attempts BANTIME_=600000 # cooldown time for incorrect passwords |