8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Fixed CORE-5270: FBSVCMGR does not produce error while attempting to shutdown a database without specified timeout (prp_force_shutdown N)

This commit is contained in:
AlexPeshkoff 2016-07-28 18:54:47 +03:00
parent bbe640a39c
commit ec29de38ca

View File

@ -575,7 +575,8 @@ int alice(Firebird::UtilSvc* uSvc)
}
#endif
if ((exit_code != FINI_OK) && uSvc->isService())
if ((exit_code != FINI_OK) && uSvc->isService() &&
(tdgbl->status[0] == 1) && (tdgbl->status[1] != 0))
{
uSvc->initStatus();
uSvc->setServiceStatus(tdgbl->status);