]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:cmdline: Also set logfile for the debug system
authorAndreas Schneider <asn@samba.org>
Tue, 8 Jun 2021 11:25:58 +0000 (13:25 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 8 Jun 2021 12:35:34 +0000 (12:35 +0000)
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

lib/cmdline/cmdline.c

index aadb06c7f56a30489beab61c045420bfefe4399a..9c0a88bd45281bff0c981121d51b386b39f0ffdd 100644 (file)
@@ -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;