summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 445a134c5..aa2bf1e3c 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -178,7 +178,7 @@ sub load_po($) {
-e ($f = "$_") and last foreach @INC;
$f = commands::install_cpio("$f/po", "$lang.po");
}
- local *F; open F, $f or return;
+ local *F; open F, $f; #- not returning here help avoiding reading the same multiple times.
foreach (<F>) {
/^msgstr/ and $state = 1;
/^msgid/ && !$fuzzy and $state = 2;