diff --git a/src/sbbs3/sbbscon.c b/src/sbbs3/sbbscon.c
index 84a0b791e0bf6ca920fca1a76af6fee3b40a6de6..93218bb48ed69ba79ce1d5d0cbdb6e218e42f7e1 100644
--- a/src/sbbs3/sbbscon.c
+++ b/src/sbbs3/sbbscon.c
@@ -1713,7 +1713,8 @@ int main(int argc, char** argv)
 	}
 
 	if(!isatty(fileno(stdin)))  			/* redirected */
-		select(0,NULL,NULL,NULL,NULL);	/* Sleep forever - Should this just exit the thread? */
+		while(1)
+			select(0,NULL,NULL,NULL,NULL);	/* Sleep forever - Should this just exit the thread? */
 	else 								/* interactive */
 #endif
 	{