mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	-Change nodech ,= to prepend rather than append the value, making group splice assignment tend to designate the new entry as more important/specific
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -934,7 +934,7 @@ sub nodech
 | 
			
		||||
            	            if ($curval) {
 | 
			
		||||
            	                my @vals = split(/,/, $curval);
 | 
			
		||||
            	                unless (grep /^$val$/, @vals) {
 | 
			
		||||
            	                    @vals = (@vals, $val);
 | 
			
		||||
                                    unshift @vals,$val;
 | 
			
		||||
            	                    my $newval = join(',', @vals);
 | 
			
		||||
            	                    $uhsh{$key} = $newval;
 | 
			
		||||
            	                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user