fixed compiling error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
24ee4eb3ce
commit
4aef6cbfbc
@ -42,7 +42,8 @@ sub check_dhcp {
|
||||
}
|
||||
|
||||
sub _slow_get_tftpdir { #make up for paths where tftpdir is not passed in
|
||||
my $nrtab = = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
my $node=shift;
|
||||
my $nrtab = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
unless ($nrtab) { return $globaltftpdir; }
|
||||
my $ent = $nrtab->getNodeAttribs($node,["tftpdir"]);
|
||||
if ($ent and $ent->{tftpdir}) {
|
||||
|
@ -43,7 +43,8 @@ sub check_dhcp {
|
||||
}
|
||||
|
||||
sub _slow_get_tftpdir { #make up for paths where tftpdir is not passed in
|
||||
my $nrtab = = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
my $node=shift;
|
||||
my $nrtab = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
unless ($nrtab) { return $globaltftpdir; }
|
||||
my $ent = $nrtab->getNodeAttribs($node,["tftpdir"]);
|
||||
if ($ent and $ent->{tftpdir}) {
|
||||
|
@ -44,7 +44,8 @@ sub check_dhcp {
|
||||
}
|
||||
|
||||
sub _slow_get_tftpdir { #make up for paths where tftpdir is not passed in
|
||||
my $nrtab = = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
my $node=shift;
|
||||
my $nrtab = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
unless ($nrtab) { return $globaltftpdir; }
|
||||
my $ent = $nrtab->getNodeAttribs($node,["tftpdir"]);
|
||||
if ($ent and $ent->{tftpdir}) {
|
||||
|
Loading…
Reference in New Issue
Block a user