diff options
Diffstat (limited to 'src/usr/initservice/extinitsvc/extinitsvc.C')
-rw-r--r-- | src/usr/initservice/extinitsvc/extinitsvc.C | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/initservice/extinitsvc/extinitsvc.C b/src/usr/initservice/extinitsvc/extinitsvc.C index 342dad0e7..9e6402ff1 100644 --- a/src/usr/initservice/extinitsvc/extinitsvc.C +++ b/src/usr/initservice/extinitsvc/extinitsvc.C @@ -167,8 +167,9 @@ void ExtInitSvc::init( void *io_ptr ) // pass an error code to initsvc that we are shutting down. pTaskArgs->postReturnCode( TASKARGS_SHUTDOWN_RC ); - // Tell the kernel to shutdown. - shutdown( SHUTDOWN_STATUS_EXTINITSVC_FAILED ); + //Tell initservice to perform shutdown sequence + InitService::getTheInstance().doShutdown( + SHUTDOWN_STATUS_EXTINITSVC_FAILED); } TRACFCOMP( g_trac_initsvc, @@ -294,7 +295,8 @@ void ExtInitSvc::init( void *io_ptr ) l_shutdownStatus = SHUTDOWN_STATUS_UT_FAILED; } - shutdown(l_shutdownStatus); + //Tell initservice to perform shutdown sequence + InitService::getTheInstance().doShutdown(l_shutdownStatus); // return to _start(), which may end the task or die. return; |