Changes of Revision 5
[-] [+] | Changed | fail2ban.init |
@@ -65,7 +65,7 @@ mkdir -p $FAIL2BAN_SOCK_DIR fi # cleanup stale socket file - if [ -r $FAIL2BAN_SOCK_DIR/fail2ban.sock && ! -r /var/run/fail2ban/fail2ban.pid ] ; then + if [ -r $FAIL2BAN_SOCK_DIR/fail2ban.sock ] && [ ! -r /var/run/fail2ban/fail2ban.pid ] ; then rm -f $FAIL2BAN_SOCK_DIR/fail2ban.sock fi ## Start daemon with startproc(8). If this fails |