summaryrefslogtreecommitdiffstats
path: root/src/usr/ipmiext
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/ipmiext')
-rw-r--r--src/usr/ipmiext/ipmisel.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/ipmiext/ipmisel.C b/src/usr/ipmiext/ipmisel.C
index dafcabca0..329baec41 100644
--- a/src/usr/ipmiext/ipmisel.C
+++ b/src/usr/ipmiext/ipmisel.C
@@ -599,6 +599,10 @@ void IpmiSEL::execute(void)
*/
void IpmiSEL::errlEnable(errlHndl_t& o_errl)
{
+ // Force constructor to run immediately in order to register the shutdown
+ // handler.
+ Singleton<IpmiSEL>::instance();
+
// call ErrlManager function - tell him that IPMI is ready!
ERRORLOG::ErrlManager::errlResourceReady(ERRORLOG::IPMI);
}
OpenPOWER on IntegriCloud