mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Merge tridge's tree
(This used to be ctdb commit 63a59a700a1fb4c23cd76d99c5b4c9660c7ca475)
This commit is contained in:
commit
a5d1b2ce48
@ -22,7 +22,7 @@
|
||||
#include "lib/events/events.h"
|
||||
#include "system/filesys.h"
|
||||
#include "popt.h"
|
||||
#include <signal.h>
|
||||
#include "system/wait.h"
|
||||
|
||||
static void block_signal(int signum)
|
||||
{
|
||||
@ -129,11 +129,9 @@ int main(int argc, const char *argv[])
|
||||
/* start the protocol running */
|
||||
ret = ctdb_start(ctdb);
|
||||
|
||||
while (1) {
|
||||
event_loop_once(ev);
|
||||
}
|
||||
event_loop_wait(ev);
|
||||
|
||||
/* shut it down */
|
||||
talloc_free(ctdb);
|
||||
talloc_free(ev);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user