summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-06 16:33:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-06 16:33:20 +0000
commit3dfc204023a7a25db6345c11c7ff6c2c77638007 (patch)
treef556f6daa3a2c50e7c27d266a6bce6d977053f95 /perl-install/install_any.pm
parent5c3f880e202d0b2d4c3b03236a38c35192653f91 (diff)
downloaddrakx-backup-do-not-use-3dfc204023a7a25db6345c11c7ff6c2c77638007.tar
drakx-backup-do-not-use-3dfc204023a7a25db6345c11c7ff6c2c77638007.tar.gz
drakx-backup-do-not-use-3dfc204023a7a25db6345c11c7ff6c2c77638007.tar.bz2
drakx-backup-do-not-use-3dfc204023a7a25db6345c11c7ff6c2c77638007.tar.xz
drakx-backup-do-not-use-3dfc204023a7a25db6345c11c7ff6c2c77638007.zip
perl_checker compliance
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 28810502b..cbffc10d9 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -131,7 +131,7 @@ sub getFile {
#- to other to avoid media change...
my $f2 = "$postinstall_rpms/$f";
$f2 = "/tmp/image/$rel" if !$postinstall_rpms || !-e $f2;
- my $F; open $F, $f2 and $F;
+ my $F; open($F, $f2) && $F;
}
} || errorOpeningFile($f);
}