redirect some error messages to STDERR
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8b5dd1b4c9
commit
46f39f5b36
@ -238,7 +238,7 @@ sub processArgs
|
||||
my $rsp;
|
||||
$rsp->{data}->[0] =
|
||||
"The \'-x\' (XML format) option is not yet implemented.";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::callback);
|
||||
xCAT::MsgUtils->message("E", $rsp, $::callback);
|
||||
return 2;
|
||||
}
|
||||
|
||||
@ -394,7 +394,7 @@ sub processArgs
|
||||
my $rsp;
|
||||
$rsp->{data}->[0] =
|
||||
"\nType \'$t\' is not a valid xCAT object type.";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::callback);
|
||||
xCAT::MsgUtils->message("E", $rsp, $::callback);
|
||||
return 3;
|
||||
}
|
||||
else
|
||||
@ -594,7 +594,7 @@ sub processArgs
|
||||
$rsp->{data}->[0] =
|
||||
"Could not get objects of type \'$t\'.\n";
|
||||
#$rsp->{data}->[1] = "Skipping to the next type.\n";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::callback);
|
||||
xCAT::MsgUtils->message("E", $rsp, $::callback);
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
@ -798,7 +798,7 @@ sub defmk
|
||||
{
|
||||
my $rsp;
|
||||
$rsp->{data}->[0] = "No object names were provided.\n";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::callback);
|
||||
xCAT::MsgUtils->message("E", $rsp, $::callback);
|
||||
&defmk_usage;
|
||||
return 1;
|
||||
}
|
||||
@ -1086,7 +1086,7 @@ sub defmk
|
||||
my $rsp;
|
||||
$rsp->{data}->[0] =
|
||||
"Cannot determine a member list for group \'$obj\'.\n";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::callback);
|
||||
xCAT::MsgUtils->message("E", $rsp, $::callback);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1363,7 +1363,7 @@ sub defch
|
||||
{
|
||||
my $rsp;
|
||||
$rsp->{data}->[0] = "No object names were provided.\n";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::callback);
|
||||
xCAT::MsgUtils->message("E", $rsp, $::callback);
|
||||
&defch_usage;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user