Signed-off-by: Thomas Renninger <[email protected]> diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-OpenIPMI-2.0.20-rc3/lanserv/config.c ./lanserv/config.c --- ../orig-OpenIPMI-2.0.20-rc3/lanserv/config.c 2013-01-21 18:24:13.000000000 +0100 +++ ./lanserv/config.c 2013-10-04 09:46:41.322610344 +0200 @@ -816,8 +816,6 @@ } if (!err) { err = lanserv_read_config(sys, f, &line, val); - if (err) - return err; } } else if (strcmp(tok, "user") == 0) { err = get_user(&tokptr, sys, &errstr); @@ -874,7 +872,7 @@ next: if (err) { fprintf(stderr, "Error on line %d: %s\n", line, errstr); - return err; + break; } } @@ -883,5 +881,5 @@ if (print_version) load_dynamic_libs(sys, print_version); - return 0; + return err; } diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-OpenIPMI-2.0.20-rc3/lanserv/emu_cmd.c ./lanserv/emu_cmd.c --- ../orig-OpenIPMI-2.0.20-rc3/lanserv/emu_cmd.c 2013-08-29 03:30:25.000000000 +0200 +++ ./lanserv/emu_cmd.c 2013-10-04 09:47:58.429779879 +0200 @@ -235,7 +235,7 @@ rv = ipmi_emu_cmd(out, emu, buffer); if (rv) - return rv; + break; pos = 0; } out:
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
