mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
update the timestamp on config files in our linked list when we notice
they have changed, otherwise we keep reading them again and again
(This used to be commit 38c07fa932
)
This commit is contained in:
parent
0c1d45dfa4
commit
02674ea801
@ -1425,10 +1425,10 @@ BOOL lp_file_list_changed(void)
|
||||
|
||||
mod_time = file_modtime(n2);
|
||||
|
||||
if (f->modtime != mod_time)
|
||||
{
|
||||
DEBUG(6,("file %s modified: %s\n", n2, ctime(&mod_time)));
|
||||
return(True);
|
||||
if (f->modtime != mod_time) {
|
||||
DEBUG(6,("file %s modified: %s\n", n2, ctime(&mod_time)));
|
||||
f->modtime = mod_time;
|
||||
return(True);
|
||||
}
|
||||
f = f->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user