mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	Fix AAsn to not die horribly when non-reference is returned from some function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1063,6 +1063,11 @@ sub setup_TFTP | ||||
|  | ||||
|     # read DB for nodeinfo | ||||
|     my $retdata = xCAT::ServiceNodeUtils->readSNInfo($nodename); | ||||
|     if (not ref $retdata) | ||||
|     {    # error | ||||
|         xCAT::MsgUtils->message("S", " Error reading service node arch."); | ||||
|         return 1; | ||||
|     } | ||||
|     $master = $retdata->{'master'}; | ||||
|     $os     = $retdata->{'os'}; | ||||
|     $arch   = $retdata->{'arch'}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user