mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 10:52:31 +00:00 
			
		
		
		
	defect 4072
This commit is contained in:
		| @@ -3994,7 +3994,7 @@ sub parse_and_run_dsh | ||||
|         $options{'user'} = $ENV{'DSH_TO_USERID'}; | ||||
|     } | ||||
|  | ||||
|     if ((!(defined(@$nodes))) && (!(defined($options{'rootimg'})))) | ||||
|     if ((!(@$nodes)) && (!(defined($options{'rootimg'})))) | ||||
|     {    #  no nodes and not -i option, error | ||||
|         my $rsp = (); | ||||
|         $rsp->{error}->[0] = "Unless using -i option,  noderange is required."; | ||||
| @@ -4033,7 +4033,7 @@ sub parse_and_run_dsh | ||||
|         {    # from sinv, discard this name | ||||
|             undef @$nodes; | ||||
|         } | ||||
|         if (defined(@$nodes)) | ||||
|         if (@$nodes) | ||||
|         { | ||||
|             my $rsp = {}; | ||||
|             $rsp->{error}->[0] = | ||||
| @@ -4405,7 +4405,7 @@ sub parse_and_run_dcp | ||||
|             return; | ||||
|         } | ||||
|     } | ||||
|     if ((!(defined(@$nodes))) && (!(defined($options{'rootimg'})))) | ||||
|     if ((!(@$nodes)) && (!(defined($options{'rootimg'})))) | ||||
|     {    #  no nodes and not -i option, error | ||||
|         my $rsp = {}; | ||||
|         $rsp->{error}->[0] = "Unless using -i option,  noderange is required."; | ||||
| @@ -4502,7 +4502,7 @@ sub parse_and_run_dcp | ||||
|     # | ||||
|     # build list of nodes | ||||
|     my @nodelist; | ||||
|     if (defined(@$nodes)) | ||||
|     if (@$nodes) | ||||
|     {    # there are nodes | ||||
|         @nodelist = @$nodes; | ||||
|         $options{'nodes'} = join(',', @nodelist); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user