add check for blank file name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2bbce57260
commit
79a0dcd3d5
@ -1132,6 +1132,10 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user