Commit 621f79c6 authored by Claes Sjofors's avatar Claes Sjofors

rt_post and rt_sevhistmon process timeout fix

parent 07b1c356
...@@ -91,7 +91,7 @@ void rt_post::open() ...@@ -91,7 +91,7 @@ void rt_post::open()
} }
else { else {
errh_Info( "No Post configuration"); errh_Info( "No Post configuration");
conf->Status = 0; errh_SetStatus( 0);
exit(0); exit(0);
} }
......
...@@ -74,6 +74,7 @@ int rt_sevhistmon::init() ...@@ -74,6 +74,7 @@ int rt_sevhistmon::init()
// Get the config object // Get the config object
sts = gdh_GetClassList( pwr_cClass_SevHistMonitor, &conf_oid); sts = gdh_GetClassList( pwr_cClass_SevHistMonitor, &conf_oid);
if ( EVEN(sts)) { if ( EVEN(sts)) {
errh_SetStatus( 0);
errh_CErrLog( PWR__SRVNOTCONF, 0); errh_CErrLog( PWR__SRVNOTCONF, 0);
exit(0); exit(0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment