From 3cf4f8f44832917a6a971b33c9232aa89d87853b Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Fri, 18 Jan 2013 22:22:33 +0000 Subject: [PATCH] Fixed error msg when getpostscript.pm can match node name, to show original name git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/getpostscript.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/getpostscript.pm b/xCAT-server/lib/xcat/plugins/getpostscript.pm index 32421a368..d8d7adeb3 100644 --- a/xCAT-server/lib/xcat/plugins/getpostscript.pm +++ b/xCAT-server/lib/xcat/plugins/getpostscript.pm @@ -71,9 +71,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;