fix: kill self

This commit is contained in:
Shengliang Guan 2022-12-21 21:19:07 +08:00
parent 15d6cb5501
commit 60a4c54fe9
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ static void dmProcessStatusRsp(SDnodeMgmt *pMgmt, SRpcMsg *pRsp) {
pMgmt->pData->dropped = 1;
dmWriteEps(pMgmt->pData);
dInfo("dnode will exit since it is in the dropped state");
exit(0);
raise(SIGINT);
}
} else {
SStatusRsp statusRsp = {0};