mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Properly close a session if our set session priv level command failed.
By this time we have activated successfully.
This commit is contained in:
parent
c86c21e734
commit
805835ca69
@ -1286,12 +1286,12 @@ ipmi_lan_activate_session(struct ipmi_intf * intf)
|
||||
if (rc < 0)
|
||||
goto fail;
|
||||
|
||||
intf->abort = 0;
|
||||
|
||||
rc = ipmi_set_session_privlvl_cmd(intf);
|
||||
if (rc < 0)
|
||||
goto fail;
|
||||
|
||||
intf->abort = 0;
|
||||
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
|
Loading…
x
Reference in New Issue
Block a user