Browse Source

* fix jail startup

master
Alex 'AdUser' Z 8 years ago
parent
commit
5746a9356d
  1. 2
      src/daemon.c

2
src/daemon.c

@ -141,7 +141,7 @@ jails_start(f2b_config_t *config) {
f2b_log_msg(log_error, "can't create jail '%s'", jail_config->name); f2b_log_msg(log_error, "can't create jail '%s'", jail_config->name);
continue; continue;
} }
if (jail->flags & JAIL_ENABLED) { if (!(jail->flags & JAIL_ENABLED)) {
f2b_log_msg(log_debug, "ignoring disabled jail '%s'", jail->name); f2b_log_msg(log_debug, "ignoring disabled jail '%s'", jail->name);
free(jail); free(jail);
continue; continue;

Loading…
Cancel
Save