Fixed error msg when getpostscript.pm can not match node name, to show original name

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2013-01-18 22:23:11 +00:00
parent 08e280ab0d
commit efc0943a60

View File

@ -65,9 +65,10 @@ sub process_request
$client = $request->{'_xcat_clienthost'}->[0];
}
my $origclient = $client;
if ($client) { ($client) = noderange($client) };
unless ($client) { #Not able to do identify the host in question
xCAT::MsgUtils->message("S","Received getpostscript from $client, which couldn't be correlated to a node (domain mismatch?)");
xCAT::MsgUtils->message("S","Received getpostscript from $origclient, which couldn't be correlated to a node (domain mismatch?)");
return;
}
my $state;