fix incorrect variable used to check sharedtftp attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7a232d81c4
commit
9bb8b87682
@ -171,7 +171,7 @@ sub preprocess_request {
|
||||
my $stab = xCAT::Table->new('site');
|
||||
my $req = shift;
|
||||
my $sent = $stab->getAttribs({key=>'sharedtftp'},'value');
|
||||
if ($sent and ($sent->{value} == 0 or $ent->{value} =~ /no/i)) {
|
||||
if ($sent and ($sent->{value} == 0 or $sent->{value} =~ /no/i)) {
|
||||
$req->{'_disparatetftp'}=[1];
|
||||
return xCAT::Scope->get_broadcast_scope($req,@_);
|
||||
}
|
||||
|
@ -173,7 +173,7 @@ sub preprocess_request {
|
||||
my $req = shift;
|
||||
|
||||
my $sent = $stab->getAttribs({key=>'sharedtftp'},'value');
|
||||
if ($sent and ($sent->{value} == 0 or $ent->{value} =~ /no/i)) {
|
||||
if ($sent and ($sent->{value} == 0 or $sent->{value} =~ /no/i)) {
|
||||
$req->{'_disparatetftp'}=[1];
|
||||
return xCAT::Scope->get_broadcast_scope($req,@_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user