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:
lissav 2009-03-12 17:39:04 +00:00
parent 7a232d81c4
commit 9bb8b87682
2 changed files with 2 additions and 2 deletions

View File

@ -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,@_);
}

View File

@ -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,@_);
}