mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix reading EOL data correctly
This commit is contained in:
@ -84,7 +84,7 @@ if (!-r $eol_file) {
|
||||
}
|
||||
my $eol_data = &read_file_contents($eol_file);
|
||||
my $eol_json;
|
||||
eval { $eol_json = &convert_from_json($eol_data); };
|
||||
eval { $eol_json = &convert_from_json($eol_data, 1); };
|
||||
if ($@) {
|
||||
&error_stderr("Could not parse OS EOL data: $@");
|
||||
return undef;
|
||||
|
Reference in New Issue
Block a user