From: Andreas Schneider Date: Fri, 30 Apr 2021 14:12:29 +0000 (+0200) Subject: lib:cmdline: Also set logfilebase for -l|--log-basename X-Git-Tag: tevent-0.11.0~941 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4596211e31ea7aeee7eeb962ea4a27823baba357;p=thirdparty%2Fsamba.git lib:cmdline: Also set logfilebase for -l|--log-basename Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlet Reviewed-by: Volker Lendecke --- diff --git a/lib/cmdline/cmdline.c b/lib/cmdline/cmdline.c index 592db97cabb..2df4d438531 100644 --- a/lib/cmdline/cmdline.c +++ b/lib/cmdline/cmdline.c @@ -396,6 +396,8 @@ static void popt_samba_callback(poptContext popt_ctx, } log_to_file = true; + set_dyn_LOGFILEBASE(arg); + TALLOC_FREE(new_logfile); } break;