Revert "s4:libcli/resolve/dns_ex: make use of double_fork() to avoid SIGCHLD problems."
authorStefan Metzmacher <metze@samba.org>
Tue, 8 Mar 2011 09:30:00 +0000 (10:30 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 11:15:20 +0000 (13:15 +0200)
This reverts commit 9e6a749b7085fca55e63405a5d630479e7c582d7.

source4/libcli/resolve/dns_ex.c

index 5084116ff10b33b03e2385968fb6fa2c3d1cfcc5..86eeb5f5921eef2a166eb26561a8e868b2921811 100644 (file)
@@ -612,7 +612,7 @@ struct composite_context *resolve_name_dns_ex_send(TALLOC_CTX *mem_ctx,
        }
        tevent_fd_set_auto_close(state->fde);
 
-       state->child = double_fork(NULL);
+       state->child = fork();
        if (state->child == (pid_t)-1) {
                composite_error(c, map_nt_error_from_unix_common(errno));
                return c;