From 745a5c017eb0ced8cca966269488c3075754264d Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Wed, 13 Jul 2011 09:57:37 +0000 Subject: [PATCH] Give more specific information to the error msg and where the issue could be git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCmac.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCmac.pm b/perl-xCAT/xCAT/PPCmac.pm index f554d0732..9591e14e9 100644 --- a/perl-xCAT/xCAT/PPCmac.pm +++ b/perl-xCAT/xCAT/PPCmac.pm @@ -142,7 +142,8 @@ sub parse_args { $client_nethash{@$node[0]} = $client_nethash{$tmpll}; } } else { - return( [RC_ERROR,"Cannot get network information for node"] ); + my $nodes = join( ",", @$node); + return( [RC_ERROR,"Cannot get network information for $nodes, check networks table and IP address for this node to make sure there is correct network in networks table"] ); } }