mirror of
https://github.com/webmin/webmin.git
synced 2026-08-04 15:10:41 +01:00
Fix to read cache into the correct hash
https://github.com/virtualmin/virtualmin-gpl/issues/1221#issuecomment-5159276506
This commit is contained in:
@@ -9,7 +9,7 @@ use WebminCore;
|
||||
# if the ProFTPd binary changes, when Webmin is upgraded
|
||||
my @st = stat($config{'proftpd_path'});
|
||||
my %oldsite;
|
||||
&read_file("$module_config_directory/site", \%site);
|
||||
&read_file("$module_config_directory/site", \%oldsite);
|
||||
if ($oldsite{'size'} != $st[7] ||
|
||||
!$oldsite{'version'} ||
|
||||
!$oldsite{'fullversion'} ||
|
||||
|
||||
Reference in New Issue
Block a user