mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix not wring a file in transcode only mode
This commit is contained in:
@ -1142,7 +1142,8 @@ sub go
|
||||
my $file_auto = $mpath . "/$code.$language_suffix";
|
||||
write_file($file, \%language, undef, undef, $mfile)
|
||||
if (%language);
|
||||
write_file($file_auto, \%language_auto, undef, undef, $mfile) if (%language_auto);
|
||||
write_file($file_auto, \%language_auto, undef, undef, $mfile)
|
||||
if (%language_auto && !$opt->{'only-transcode'});
|
||||
|
||||
# Git auto-commit after language was transcoded/translated
|
||||
if ($git_commit) {
|
||||
|
Reference in New Issue
Block a user