summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2021-06-08 13:25:58 +0200
committerVolker Lendecke <vl@samba.org>2021-06-08 12:35:34 +0000
commitf9ffed06862c222da4adcf2259bc45c18edb1dc3 (patch)
tree98bd63c8972b57718f5cfa129ecb81da8564da4c /lib
parent9cb3e4314b00629391919d8f74080d0dfc1aae18 (diff)
downloadsamba-f9ffed06862c222da4adcf2259bc45c18edb1dc3.tar.gz
lib:cmdline: Also set logfile for the debug system
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Jun 8 12:35:34 UTC 2021 on sn-devel-184
Diffstat (limited to 'lib')
-rw-r--r--lib/cmdline/cmdline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cmdline/cmdline.c b/lib/cmdline/cmdline.c
index aadb06c7f56..9c0a88bd452 100644
--- a/lib/cmdline/cmdline.c
+++ b/lib/cmdline/cmdline.c
@@ -314,6 +314,7 @@ static bool set_logfile(TALLOC_CTX *mem_ctx,
TALLOC_FREE(new_logfile);
return false;
}
+ debug_set_logfile(new_logfile);
TALLOC_FREE(new_logfile);
return true;