add msg to rmdsklsnode for missing noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -9515,6 +9515,15 @@ sub prermdsklsnode | ||||
| 			last; | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	if (scalar(@nodelist) == 0) { | ||||
| 		my $rsp; | ||||
| 		push @{$rsp->{data}}, "A noderange is required.\n"; | ||||
| 		xCAT::MsgUtils->message("E", $rsp, $callback); | ||||
| 		&rmdsklsnode_usage($callback); | ||||
| 		return 2; | ||||
| 	} | ||||
|  | ||||
|     return (0, \@nodelist, $type); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user