mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-01-21 08:34:29 +08:00
Fix missing return in ipmi_kontronoem_main() - CID#1261317
This commit is contained in:
parent
c076fde0a6
commit
12eeca602c
@ -105,7 +105,7 @@ ipmi_kontronoem_main(struct ipmi_intf *intf, int argc, char **argv)
|
|||||||
if (argc < 2) {
|
if (argc < 2) {
|
||||||
lprintf(LOG_ERR, "Not enough parameters given.");
|
lprintf(LOG_ERR, "Not enough parameters given.");
|
||||||
ipmi_kontron_nextboot_help();
|
ipmi_kontron_nextboot_help();
|
||||||
rc = (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
rc = ipmi_kontron_nextboot_set(intf, (argc - 1), (argv + 1));
|
rc = ipmi_kontron_nextboot_set(intf, (argc - 1), (argv + 1));
|
||||||
if (rc == 0) {
|
if (rc == 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user