Skip to content

Commit

Permalink
Merge pull request #1744 from rrb3942/nofork_daemon_error
Browse files Browse the repository at this point in the history
Only report status if in forking daemon mode
(cherry picked from commit a4dfbf5)
  • Loading branch information
bogdan-iancu committed Jun 26, 2019
1 parent 714afb9 commit 4e258b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/net_tcp.c
Expand Up @@ -1898,7 +1898,7 @@ int tcp_start_processes(int *chd_rank, int *startup_done)
*startup_done = 1;
}

report_conditional_status( 1, 0);
report_conditional_status( (!no_daemon_mode), 0);

tcp_worker_proc_loop();
}
Expand Down
2 changes: 1 addition & 1 deletion timer.c
Expand Up @@ -682,7 +682,7 @@ int start_timer_extra_processes(int *chd_rank)
goto error;
}

report_conditional_status( 1, 0);
report_conditional_status( (!no_daemon_mode), 0);

/* launch the reactor */
reactor_main_loop( 1/*timeout in sec*/, error , );
Expand Down

0 comments on commit 4e258b1

Please sign in to comment.