From: Paul Zirnik <t...@suse.de>

Signed-off-by: Thomas Renninger <tr...@suse.de> 

diff --git a/lib/ipmi_delloem.c b/lib/ipmi_delloem.c
index d18e84a..2214c99 100644
--- a/lib/ipmi_delloem.c
+++ b/lib/ipmi_delloem.c
@@ -273,22 +273,22 @@ ipmi_delloem_main(struct ipmi_intf * intf, int argc, char 
** argv)
                return 0;
        }
        if (0 ==strncmp(argv[current_arg], "lcd\0", 4)) {
-               ipmi_delloem_lcd_main(intf,argc,argv);
+               rc = ipmi_delloem_lcd_main(intf,argc,argv);
        } else if (strncmp(argv[current_arg], "mac\0", 4) == 0) {
                /* mac address*/
-               ipmi_delloem_mac_main(intf,argc,argv);
+               rc = ipmi_delloem_mac_main(intf,argc,argv);
        } else if (strncmp(argv[current_arg], "lan\0", 4) == 0) {
                /* lan address*/
-               ipmi_delloem_lan_main(intf,argc,argv);
+               rc = ipmi_delloem_lan_main(intf,argc,argv);
        } else if (strncmp(argv[current_arg], "setled\0", 7) == 0) {
                /* SetLED support */
-               ipmi_delloem_setled_main(intf,argc,argv);
+               rc = ipmi_delloem_setled_main(intf,argc,argv);
        } else if (strncmp(argv[current_arg], "powermonitor\0", 13) == 0) {
                /*Powermanagement report processing*/
-               ipmi_delloem_powermonitor_main(intf,argc,argv);
+               rc = ipmi_delloem_powermonitor_main(intf,argc,argv);
        } else if (strncmp(argv[current_arg], "vFlash\0", 7) == 0) {
                /* vFlash Support */
-               ipmi_delloem_vFlash_main(intf,argc,argv);
+               rc = ipmi_delloem_vFlash_main(intf,argc,argv);
        } else {
                usage();
                return -1;


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to