'ipmitool -o list' shoul return exit code '0', not '1' as it is now.
Signed-off-by: Jan Safranek <[email protected]>
---
lib/ipmi_main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/ipmi_main.c b/lib/ipmi_main.c
index 4c7aa71..e3019c8 100644
--- a/lib/ipmi_main.c
+++ b/lib/ipmi_main.c
@@ -536,6 +536,7 @@ ipmi_main(int argc, char ** argv,
if (strncmp(oemtype, "list", 4) == 0 ||
strncmp(oemtype, "help", 4) == 0) {
ipmi_oem_print();
+ rc = 0;
goto out_free;
}
break;
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Ipmitool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel