delve/cmd/dlv/cmds
Derek Parker 98f6d0b619
cmd/dlv: fix exit status for trace subcommand (#3263)
We currently return an error when the command exits because a process
exited error is always returned. Detect this like we do in other code
paths to return a 0 exit code instead of nonzero which indicates the
command itself failed and can confuse other tools.
2023-02-02 11:11:31 +01:00
..
cmds_test.go cmd,proc,terminal,debugger: Support default file descriptor redirects 2020-09-01 21:50:27 +02:00
commands.go cmd/dlv: fix exit status for trace subcommand (#3263) 2023-02-02 11:11:31 +01:00