mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
These fixes are pretty pedantic, but they do simplify the script a little. * Checking the existence of a file/directory before creating/deleting it adds complexity and raciness. There are better options. * mkdir -p does the job of making sure a directory exists. (It only fails if there's a filesystem error or something.) * Likewise, rm -f doesn't fail if the file doesn't exist. * rm -r isn't neccessary because the socket shouldn't be a directory. (If it is for some reason, that should be an error.) |
||
|---|---|---|
| .. | ||
| cacti | ||
| logwatch | ||
| monit | ||
| nagios | ||
| bash-completion | ||
| debian-initd | ||
| fail2ban-logrotate | ||
| fail2ban-tmpfiles.conf | ||
| fail2ban.service | ||
| fail2ban.upstart | ||
| gen_badbots | ||
| gentoo-confd | ||
| gentoo-initd | ||
| ipmasq-ZZZzzz_fail2ban.rul | ||
| macosx-initd | ||
| redhat-initd | ||
| solaris-fail2ban.xml | ||
| solaris-svc-fail2ban | ||
| suse-initd | ||