diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c index 8247859f9b5..aac331dd1dd 100644 --- a/ctdb/server/ctdb_daemon.c +++ b/ctdb/server/ctdb_daemon.c @@ -1230,7 +1230,7 @@ int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork) int res, ret = -1; struct tevent_fd *fde; - become_daemon(do_fork, !do_fork, !do_fork); + become_daemon(do_fork, !do_fork, false); ignore_signal(SIGPIPE); ignore_signal(SIGUSR1);