mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
ctdb-daemon: Don't try to reopen TDB files
There aren't any open at this stage. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12287 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit d719a87fe021b0c704fc4b12ddfc0345fe3af146)
This commit is contained in:
parent
2ebed563e4
commit
8866233e5d
@ -1231,8 +1231,6 @@ int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork)
|
||||
return 0;
|
||||
}
|
||||
|
||||
tdb_reopen_all(false);
|
||||
|
||||
if (do_fork) {
|
||||
if (setsid() == -1) {
|
||||
ctdb_die(ctdb, "Failed to setsid()\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user