mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
ctdb-daemon: Fix a return value
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
776e9f56f1
commit
16e6b56b41
@ -100,7 +100,7 @@ static bool eventd_context_init(TALLOC_CTX *mem_ctx,
|
||||
socket = talloc_strdup(ectx, ctdb_get_socketname(ctdb));
|
||||
if (socket == NULL) {
|
||||
talloc_free(ectx);
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
|
||||
ectx->socket = talloc_asprintf(ectx, "%s/eventd.sock",
|
||||
|
Loading…
Reference in New Issue
Block a user