mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
dbwrap: Improve an error message
Include the path where db_open() tried to find the ctdb socket Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c90824a24a
commit
e033dafd14
@ -131,8 +131,9 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx,
|
||||
|
||||
sockname = lp_ctdbd_socket();
|
||||
if (!socket_exist(sockname)) {
|
||||
DEBUG(1, ("ctdb socket does not exist - is ctdb not "
|
||||
"running?\n"));
|
||||
DBG_WARNING("ctdb socket does %s not exist - "
|
||||
"is ctdb not running?\n",
|
||||
sockname);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user