defect 3372358: ignore the inexisted or not accessable file when running get_package_names
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cd416951e1
commit
726bf4a9d3
@ -79,7 +79,7 @@ sub get_package_names {
|
||||
my @tmp_array=();
|
||||
|
||||
|
||||
if ($plist_file_name) {
|
||||
if ($plist_file_name && -r $plist_file_name) {
|
||||
my $pkgfile;
|
||||
open($pkgfile,"<","$plist_file_name");
|
||||
while (<$pkgfile>) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user