mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Use new API to preserve new lines
This commit is contained in:
@@ -1530,9 +1530,9 @@ sub go
|
||||
}
|
||||
my $file = $mpath . "/$code";
|
||||
my $file_auto = $mpath . "/$code.$language_suffix";
|
||||
write_file($file, \%language, undef, undef, $mfile), chmod(0664, $file)
|
||||
write_file($file, \%language, undef, undef, $mfile, 1), chmod(0664, $file)
|
||||
if (%language);
|
||||
write_file($file_auto, \%language_auto, undef, undef, $mfile), chmod(0664, $file_auto)
|
||||
write_file($file_auto, \%language_auto, undef, undef, $mfile, 1), chmod(0664, $file_auto)
|
||||
if ((%language_auto || !%language_auto) && !$opt->{'only-transcode'});
|
||||
|
||||
# Remove empty files
|
||||
|
||||
Reference in New Issue
Block a user