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:
parent
d8bcedffa8
commit
1ce7d0080f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user