mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Add check for priority before using the value
This commit is contained in:
		| @@ -1399,7 +1399,10 @@ sub rinv_response { | ||||
|                 my $purpose_value = uc ((split(/\./, $content{Purpose}))[-1]); | ||||
|                 $purpose_value = "[$sw_id]$purpose_value"; | ||||
|                 my $activation_value = (split(/\./, $content{Activation}))[-1]; | ||||
|                 my $priority_value = $content{Priority}; | ||||
|                 my $priority_value = -1; | ||||
|                 if (defined($content{Priority})) { | ||||
|                     $priority_value = $content{Priority}; | ||||
|                 } | ||||
|                 # | ||||
|                 # For 'rinv firm', only print Active software, unless verbose is specified | ||||
|                 # | ||||
|   | ||||
		Reference in New Issue
	
	Block a user