Browse Source

* main.c: correct shutdown of jails

master
Alex 'AdUser' Z 9 years ago
parent
commit
f155743d59
  1. 7
      src/main.c

7
src/main.c

@ -200,7 +200,14 @@ int main(int argc, char *argv[]) {
f2b_jail_process(jail);
}
sleep(1);
if (rcfg) {
/* TODO */
rcfg = false;
}
}
for (jail = jails; jail != NULL; jail = jail->next)
f2b_jail_stop(jail);
return EXIT_SUCCESS;
}

Loading…
Cancel
Save