diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index cf5a51d5d..c2071395d 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -1823,6 +1823,11 @@ sub readSNInfo } $et = xCAT::Utils->GetNodeOSARCH($nodename); + if ($et == 1) { + xCAT::MsgUtils->message('S', + "Could not get OS/ARCH for node $nodename\n"); + return 1; + } if (!($et->{'os'} || $et->{'arch'})) { xCAT::MsgUtils->message('S',