fix defect 3538653
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -648,13 +648,15 @@ sub process_nodes | ||||
|             my $args = $newSNreq->{arg}; | ||||
|             my $arraysize = @$args; | ||||
|             my $i = 0; | ||||
|             foreach (@$args) { | ||||
|             foreach my $sarg (@$args) { | ||||
|               if ($arraysize > 1) {  | ||||
|                 my $tmpfile =$synfiledir ; | ||||
|                 $tmpfile .=$newSNreq->{arg}->[$i] ; | ||||
|                 $newSNreq->{arg}->[$i] = $tmpfile; | ||||
|                 $arraysize--;  | ||||
|                 $i++; | ||||
|                 if (($sarg !~ /^-/) && ( $sarg !~ /^\//)) {  # just a flag, skip | ||||
|                   my $tmpfile =$synfiledir ; | ||||
|                   $tmpfile .=$newSNreq->{arg}->[$i] ; | ||||
|                   $newSNreq->{arg}->[$i] = $tmpfile; | ||||
|                   $arraysize--;  | ||||
|                   $i++; | ||||
|                 } | ||||
|               } else { | ||||
|                  last; | ||||
|               }     | ||||
|   | ||||
		Reference in New Issue
	
	Block a user