fixed Error: at the beginning of monshow usage (feature request 73)
This commit is contained in:
parent
8efb1c8f48
commit
61f2851006
@ -1753,11 +1753,7 @@ sub preprocess_monshow
|
||||
$rsp->{data}->[10]= " -o specifies montype, it can be p, e or pe.";
|
||||
$rsp->{data}->[11]= " p means performance, e means events, default is e";
|
||||
# $cb->($rsp);
|
||||
if($error){
|
||||
xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
} else {
|
||||
xCAT::MsgUtils->message("D", $rsp, $callback);
|
||||
}
|
||||
xCAT::MsgUtils->message("D", $rsp, $callback, $error);
|
||||
}
|
||||
|
||||
@ARGV=();
|
||||
|
Loading…
Reference in New Issue
Block a user