'ipmitool -o list' should return zero exit code.

Signed-off-by: Jan Safranek <jsafr...@redhat.com>
---

 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 22e3179..c88f457 100644
--- a/lib/ipmi_main.c
+++ b/lib/ipmi_main.c
@@ -573,6 +573,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;


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to