diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-10-05 21:51:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:49 -0500 |
commit | 93224076fce2c647e0a6dab2f9f2e1508b6a27cf (patch) | |
tree | e127d03b38cf2cefb067069a671688201995fd0f | |
parent | f0b3f20efb804b0512c90c2f17bfbbd3cd5f87cf (diff) | |
download | samba-93224076fce2c647e0a6dab2f9f2e1508b6a27cf.tar.gz samba-93224076fce2c647e0a6dab2f9f2e1508b6a27cf.tar.bz2 samba-93224076fce2c647e0a6dab2f9f2e1508b6a27cf.zip |
r25535: Deal with events subsystem failures.
(This used to be commit fa6407984b2d592d1097a6bc5b7d566a2cc122de)
-rw-r--r-- | source4/smbd/server.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index dcec02d3b7..8f5c3b66ec 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -307,6 +307,11 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ should hang off that */ event_ctx = event_context_init(talloc_autofree_context()); + if (event_ctx == NULL) { + DEBUG(0,("Initializing event context failed\n")); + return 1; + } + /* initialise clustering if needed */ cluster_ctdb_init(event_ctx, model); |