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
This commit is contained in:
nott 2013-05-10 16:50:58 +00:00
parent a0f0bc1e07
commit bcf9e0aff2

View File

@ -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;