Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -4605,7 +4605,9 @@ NO_SSH: ...@@ -4605,7 +4605,9 @@ NO_SSH:
while(!terminate_server) { 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; bool rerun=false;
for(i=first_node;i<=last_node;i++) { for(i=first_node;i<=last_node;i++) {
if(sbbs->getnodedat(i,&node,0)!=0) if(sbbs->getnodedat(i,&node,0)!=0)
...@@ -4621,7 +4623,7 @@ NO_SSH: ...@@ -4621,7 +4623,7 @@ NO_SSH:
} }
if(rerun) if(rerun)
break; break;
if(!(startup->options&BBS_OPT_NO_RECYCLE)) {
if((p=semfile_list_check(&initialized,recycle_semfiles))!=NULL) { if((p=semfile_list_check(&initialized,recycle_semfiles))!=NULL) {
lprintf(LOG_INFO,"%04d Recycle semaphore file (%s) detected" lprintf(LOG_INFO,"%04d Recycle semaphore file (%s) detected"
,telnet_socket,p); ,telnet_socket,p);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment