1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Merge tridge's tree

(This used to be ctdb commit 63a59a700a1fb4c23cd76d99c5b4c9660c7ca475)
This commit is contained in:
Volker Lendecke 2007-04-11 16:52:06 +02:00
commit a5d1b2ce48

View File

@ -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;
}