From f108b55d135193ef01e6768c957f74dffc3597eb Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 20 Apr 2005 23:38:16 +0000 Subject: [PATCH] don't display open command for ipmievd when not available --- ipmitool/src/ipmievd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ipmitool/src/ipmievd.c b/ipmitool/src/ipmievd.c index 5aea545..41f9d35 100644 --- a/ipmitool/src/ipmievd.c +++ b/ipmitool/src/ipmievd.c @@ -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 } };