pkg/terminal: Fix exit status
During a debug session if the process exited and then the user quit the debug session, the process exit message would display again and Delve would exit non-zero (specifically with exit code 1) despite nothing going wrong. This patch fixes this so that Delve exits with a clean 0 status and the process exit message is not printed yet again.
Showing
想要评论请 注册 或 登录