diff options
author | Ralph Boehme <slow@samba.org> | 2019-05-04 12:12:48 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-10-24 09:33:47 +0000 |
commit | 9471508391fd3bcf199b1e94f8d9ee2b956e8f8e (patch) | |
tree | 6f92aafd160f8cc07b5f11c6805e7cd7f44456bf /source3/utils/dbwrap_tool.c | |
parent | ca95d7f41b683b4d7ac59ed6ee709d44abfe2019 (diff) | |
download | samba-9471508391fd3bcf199b1e94f8d9ee2b956e8f8e.tar.gz |
s3: remove now unneeded call to cmdline_messaging_context()
This was only needed as dbwrap_open() had a bug where it asked for the ctdb
connection before initializing messaging. The previous commit fixed that so we
can now safely remove the calls to cmdline_messaging_context() from all tools
that don't use messaging.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13925
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 24 09:33:47 UTC 2019 on sn-devel-184
Diffstat (limited to 'source3/utils/dbwrap_tool.c')
-rw-r--r-- | source3/utils/dbwrap_tool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/utils/dbwrap_tool.c b/source3/utils/dbwrap_tool.c index 84ff6f9d3c4..5d4791473a0 100644 --- a/source3/utils/dbwrap_tool.c +++ b/source3/utils/dbwrap_tool.c @@ -422,8 +422,6 @@ int main(int argc, const char **argv) while (extra_argv[extra_argc]) extra_argc++; } - cmdline_messaging_context(get_dyn_CONFIGFILE()); - lp_load_global(get_dyn_CONFIGFILE()); if ((extra_argc < 2) || (extra_argc > 5)) { |