diff --git a/ipmitool/src/ipmitool.c b/ipmitool/src/ipmitool.c index 9bf2706..e86e5c2 100644 --- a/ipmitool/src/ipmitool.c +++ b/ipmitool/src/ipmitool.c @@ -116,7 +116,7 @@ int ipmi_raw_main(struct ipmi_intf * intf, int argc, char ** argv) req.msg.data[i-2] = val; req.msg.data_len++; } - if (req.msg.data_len) { + if (verbose && req.msg.data_len) { for (i=0; isendrecv(intf, &req); @@ -136,7 +137,8 @@ int ipmi_raw_main(struct ipmi_intf * intf, int argc, char ** argv) return -1; } - printf("RAW RSP (%d bytes)\n", rsp->data_len); + if (verbose) + printf("RAW RSP (%d bytes)\n", rsp->data_len); for (i=0; idata_len; i++) { if (((i%16) == 0) && (i != 0))