Skip to content

Commit

Permalink
only grab one occurance
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Mar 19, 2020
1 parent 05e692d commit b6a76b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/fail2ban.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6a76b8

Please sign in to comment.