From bcf9e0aff2b8624e2f16c65cc18a14dc2159b43f Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 10 May 2013 16:50:58 +0000 Subject: [PATCH] add check for blank file name git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/InstUtils.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/InstUtils.pm b/perl-xCAT/xCAT/InstUtils.pm index 8f2bd63b6..09aaad212 100644 --- a/perl-xCAT/xCAT/InstUtils.pm +++ b/perl-xCAT/xCAT/InstUtils.pm @@ -1132,7 +1132,11 @@ sub dolitesetup # $file could be full path file name or dir name # ex. /foo/bar/ or /etc/lppcfg my ($node, $option, $file) = split (/\|/, $line); - + + if (!$file) { + next; + } + # ex. .../inst_root/foo/bar/ or .../inst_root/etc/lppcfg my $instrootfile = $instrootloc . $file;