mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 19:17:22 +00:00
fix chassis power status command
This commit is contained in:
parent
763abe4889
commit
7b3fac2071
@ -561,7 +561,7 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (strncmp(argv[1], "status", 6) == 0) {
|
if (strncmp(argv[1], "status", 6) == 0) {
|
||||||
rc = ipmi_chassis_power_status(intf);
|
rc = ipmi_chassis_print_power_status(intf);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
if ((strncmp(argv[1], "up", 2) == 0) || (strncmp(argv[1], "on", 2) == 0))
|
if ((strncmp(argv[1], "up", 2) == 0) || (strncmp(argv[1], "on", 2) == 0))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user