diff --git a/main/logger.c b/main/logger.c
index 1539654e799af989fab52ed55a56fc1ead6a6ab9..c06ebd0d503a1f5b56026878fe593360c18b76c5 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -1172,10 +1172,6 @@ static void *logger_thread(void *data)
 			/* Free the data since we are done */
 			logmsg_free(msg);
 		}
-
-		/* If we should stop, then stop */
-		if (close_logger_thread)
-			break;
 	}
 
 	return NULL;