minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5353d11620
commit
0e6d28e1c2
@ -130,7 +130,7 @@ sub process_command {
|
||||
my $global_check=1;
|
||||
if ($sitetab) {
|
||||
(my $ref) = $sitetab->getAttribs({key => 'nodestatus'}, 'value');
|
||||
if ($ref and $ref->{value}) {
|
||||
if ($ref) {
|
||||
if ($ref->{value} =~ /0|n|N/) { $global_check=0; }
|
||||
}
|
||||
}
|
||||
|
@ -2830,7 +2830,7 @@ sub dompa {
|
||||
my $sitetab = xCAT::Table->new('site');
|
||||
if ($sitetab) {
|
||||
(my $ref) = $sitetab->getAttribs({key => 'nodestatus'}, 'value');
|
||||
if ($ref and $ref->{value}) {
|
||||
if ($ref) {
|
||||
if ($ref->{value} =~ /0|N|n/) { $global_check=0; }
|
||||
}
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ my $nonodestatus=0;
|
||||
my $sitetab = xCAT::Table->new('site');
|
||||
if ($sitetab) {
|
||||
(my $ref1) = $sitetab->getAttribs({key => 'nodestatus'}, 'value');
|
||||
if ($ref1 and $ref1->{value}) {
|
||||
if ($ref1) {
|
||||
if ($ref1->{value} =~ /0|n|N/) { $nonodestatus=1; }
|
||||
}
|
||||
}
|
||||
|
@ -6136,7 +6136,7 @@ sub process_request {
|
||||
my $global_check=1;
|
||||
if ($sitetab) {
|
||||
(my $ref) = $sitetab->getAttribs({key => 'nodestatus'}, 'value');
|
||||
if ($ref and $ref->{value}) {
|
||||
if ($ref) {
|
||||
if ($ref->{value} =~ /0|n|N/) { $global_check=0; }
|
||||
}
|
||||
}
|
||||
|
@ -897,7 +897,7 @@ sub process_request {
|
||||
my $global_check=1;
|
||||
if ($sitetab) {
|
||||
(my $ref) = $sitetab->getAttribs({key => 'nodestatus'}, 'value');
|
||||
if ($ref and $ref->{value}) {
|
||||
if ($ref) {
|
||||
if ($ref->{value} =~ /0|n|N/) { $global_check=0; }
|
||||
}
|
||||
}
|
||||
|
@ -758,7 +758,7 @@ sub process_request {
|
||||
my $sitetab = xCAT::Table->new('site');
|
||||
if ($sitetab) {
|
||||
(my $ref) = $sitetab->getAttribs({key => 'nodestatus'}, 'value');
|
||||
if ($ref and $ref->{value}) {
|
||||
if ($ref) {
|
||||
if ($ref->{value} =~ /0|n|N/) { $global_check=0; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user