mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +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/branches/2.8@15837 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