mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Fix check for no entries in SEL
This commit is contained in:
parent
8efaddec02
commit
9e08347965
@ -370,7 +370,7 @@ ipmi_sel_list_entries(struct ipmi_intf * intf)
|
||||
if (verbose > 2)
|
||||
printbuf(rsp->data, rsp->data_len, "sel_info");
|
||||
|
||||
if (!rsp->data[1]) {
|
||||
if (!rsp->data[1] && !rsp->data[2]) {
|
||||
printf("SEL has no entries\n");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user