mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fix for bug 3286305: print warning message when no boject is provided
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -798,6 +798,10 @@ sub processArgs | ||||
|     # must have object name(s) - | ||||
|     if ((scalar(@::clobjnames) == 0) && (scalar(@::fileobjnames) == 0)) | ||||
|     { | ||||
|         my $rsp; | ||||
|         $rsp->{data}->[0] = | ||||
|           "No object names were provided."; | ||||
|         xCAT::MsgUtils->message("E", $rsp, $::callback); | ||||
|         return 3; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user