mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +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_data = &read_file_contents($eol_file);
|
||||||
my $eol_json;
|
my $eol_json;
|
||||||
eval { $eol_json = &convert_from_json($eol_data); };
|
eval { $eol_json = &convert_from_json($eol_data, 1); };
|
||||||
if ($@) {
|
if ($@) {
|
||||||
&error_stderr("Could not parse OS EOL data: $@");
|
&error_stderr("Could not parse OS EOL data: $@");
|
||||||
return undef;
|
return undef;
|
||||||
|
Reference in New Issue
Block a user