From f05b1f5cfc99199ad8cc852454a448d49c34404b Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on macOS)" <rob@synchro.net>
Date: Sun, 9 Mar 2025 22:48:42 -0700
Subject: [PATCH] Don't clear the 'terminated' flag after binding sockets

A sysop could hit 'q' to quit (sbbs, console mode) while the binding is taking
place.
---
 src/sbbs3/services.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/sbbs3/services.c b/src/sbbs3/services.c
index a550d2401a..59d517d4f0 100644
--- a/src/sbbs3/services.c
+++ b/src/sbbs3/services.c
@@ -2137,8 +2137,6 @@ void services_thread(void* arg)
 			semfile_list_check(&initialized, shutdown_semfiles);
 		}
 
-		terminated = false;
-
 		lprintf(LOG_INFO, "0000 Services thread started (%lu service sockets bound)", total_sockets);
 
 #ifdef PREFER_POLL
-- 
GitLab