Skip to content

Commit

Permalink
Merge pull request #292 from jjnicola/openvas-scanner-6.0
Browse files Browse the repository at this point in the history
Backport PR #291.
  • Loading branch information
kroosec authored Apr 4, 2019
2 parents 05524be + 4325038 commit 52a3689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openvassd.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,6 @@ main_loop ()
struct scan_globals *globals;

check_termination ();
check_kb_status ();
wait_for_children1 ();
lg_address = sizeof (struct sockaddr_un);
soc = accept (global_iana_socket, (struct sockaddr *) (&address),
Expand All @@ -696,6 +695,7 @@ main_loop ()
/* Check for reload after accept() but before we fork, to ensure that
* Manager gets full updated feed in case of NVT update connection.
*/
check_kb_status ();
check_reload ();
if (create_process ((process_func_t) scanner_thread, globals) < 0)
{
Expand Down

0 comments on commit 52a3689

Please sign in to comment.