fixed Error: at the beginning of monshow usage (feature request 73)

This commit is contained in:
Bruce Potter 2013-12-18 15:42:25 -05:00
parent 8efb1c8f48
commit 61f2851006

View File

@ -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=();