don't display open command for ipmievd when not available

This commit is contained in:
Duncan Laurie 2005-04-20 23:38:16 +00:00
parent 13659fb466
commit f108b55d13

View File

@ -679,8 +679,10 @@ ipmievd_open_main(struct ipmi_intf * intf, int argc, char ** argv)
}
struct ipmi_cmd ipmievd_cmd_list[] = {
{ ipmievd_sel_main, "sel", "Poll SEL for notification of events" },
#ifdef IPMI_INTF_OPEN
{ ipmievd_open_main, "open", "Use OpenIPMI for asyncronous notification of events" },
#endif
{ ipmievd_sel_main, "sel", "Poll SEL for notification of events" },
{ NULL }
};