1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

lib:util: Fix smbclient -l basename dir

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14345

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu May  7 10:38:29 UTC 2020 on sn-devel-184
This commit is contained in:
Amit Kumar 2020-04-22 06:53:42 -05:00 committed by Andreas Schneider
parent 2a7fc40fb3
commit c83ce5f4f9
2 changed files with 7 additions and 2 deletions

View File

@ -1140,9 +1140,15 @@ bool reopen_logs_internal(void)
dbgc_config[DBGC_ALL].fd = 2;
return true;
case DEBUG_FILE:
case DEBUG_FILE: {
struct debug_backend *b = debug_find_backend("file");
if (b != NULL) {
b->log_level = dbgc_config[DBGC_ALL].loglevel;
}
break;
}
}
oldumask = umask( 022 );

View File

@ -1 +0,0 @@
^samba3.blackbox.smbclient_log_basename