From 7e58e269067f83d7ced4347113450df9a0a5af8a Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 5 Oct 2009 20:48:35 +0000 Subject: [PATCH] -Correct problem where a return value was not being checked resulting in xCATd potentially crashing on startup git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/AAsn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index 5486a6c07..4145f7589 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -294,7 +294,7 @@ sub mountInstall my $nomount = 0; my $retdata = xCAT::Utils->readSNInfo($nodename); - if ($retdata->{'arch'}) + if (ref $retdata and $retdata->{'arch'}) { # no error $master = $retdata->{'master'}; # management node $os = $retdata->{'os'};