Commit 6082b52e authored by rswindell's avatar rswindell
Browse files

Node rerun flag is now ignored if the "NO_RECYCLE" BBS option flag is set.

parent f8f21635
......@@ -4605,7 +4605,9 @@ NO_SSH:
while(!terminate_server) {
if(node_threads_running==0) { /* check for re-run flags */
if(node_threads_running==0) { /* check for re-run flags and recycle/shutdown sem files */
if(!(startup->options&BBS_OPT_NO_RECYCLE)) {
bool rerun=false;
for(i=first_node;i<=last_node;i++) {
if(sbbs->getnodedat(i,&node,0)!=0)
......@@ -4621,7 +4623,7 @@ NO_SSH:
}
if(rerun)
break;
if(!(startup->options&BBS_OPT_NO_RECYCLE)) {
if((p=semfile_list_check(&initialized,recycle_semfiles))!=NULL) {
lprintf(LOG_INFO,"%04d Recycle semaphore file (%s) detected"
,telnet_socket,p);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment