mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
do an infinite loop calling event_loop_once() in the ctdbd parent process instead of event_loop_wait() since the latter will return and thus take down the daemon
(This used to be ctdb commit 26ffd166c176deb7e2437f3ee87887f8b57435e7)
This commit is contained in:
parent
5370e677ec
commit
e18ed8cc84
@ -129,7 +129,10 @@ int main(int argc, const char *argv[])
|
||||
/* start the protocol running */
|
||||
ret = ctdb_start(ctdb);
|
||||
|
||||
event_loop_wait(ev);
|
||||
/* event_loop_wait(ev);*/
|
||||
while (1) {
|
||||
event_loop_once(ev);
|
||||
}
|
||||
|
||||
/* shut it down */
|
||||
talloc_free(ev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user