2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-02 08:18:22 +00:00

Recognize an alternative energy code

It may return C1 if not supported.
This commit is contained in:
Jarrod Johnson
2017-01-17 15:56:45 -05:00
parent 1cf6894af8
commit 06d7097f42

View File

@@ -5552,7 +5552,7 @@ sub execute_iem_commands {
sub executed_iem_command {
my $rsp = $_[0];
my $sessdata = $_[1];
if ($rsp->{code} == 0xcb) {
if ($rsp->{code} == 0xcb or $rsp->{code} == 0xc1) {
$sessdata->{abortediem} = 1;
$sessdata->{abortediemreason} = "Not Present";
$sessdata->{iemcallback}->($sessdata);