From 0c29a9c630eaebec20b7d6139115d354899cf41c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 30 May 2014 11:27:17 -0400 Subject: [PATCH] Fix problem where firmware was erroneously marked pending --- xCAT-server/lib/xcat/plugins/ipmi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index e6e67cd25..c5eaa002b 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -1966,7 +1966,7 @@ sub got_bios_pending_buildid { my %res = @_; my $sessdata = $res{sessdata}; $sessdata->{biosbuildpending} = 0; - if ($res{data}) { + if ($res{data} and $res{data} ne ' ') { $sessdata->{biosbuildpending} = 1; } get_imm_property(property=>"/v2/bios/build_version",callback=>\&got_bios_version,sessdata=>$sessdata);