优化退出信号传递流程
This commit is contained in:
@ -151,6 +151,7 @@ int exce(const int command,ctx *all_ctx)
|
||||
case QUIT:
|
||||
printf("shuting down\n");
|
||||
all_ctx->statue = -1;
|
||||
write(all_ctx->fifofd[1],"q",1);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user