diff options
-rw-r--r-- | source3/lib/debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 1986d6cfca..80b8310ab2 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -746,8 +746,7 @@ void check_log_size( void ) maxlog = lp_max_log_size() * 1024; - if(sys_fstat(x_fileno(dbf), &st, - lp_fake_dir_create_times()) == 0 + if(sys_fstat(x_fileno(dbf), &st, false) == 0 && st.st_ex_size > maxlog ) { (void)reopen_logs(); if( dbf && get_file_size( debugf ) > maxlog ) { |