summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 538e04938e..2400b5c104 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -693,13 +693,6 @@ static void smbd_parent_loop(struct smbd_parent_context *parent)
if (num < 0)
exit_server_cleanly("socket error");
- /* If the idle timeout fired and we don't have any connected
- * users, exit gracefully. We should be running under a process
- * controller that will restart us if necessry.
- */
- if (num == 0 && count_all_current_connections() == 0) {
- exit_server_cleanly("idle timeout");
- }
TALLOC_FREE(frame);
} /* end while 1 */