Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit abcf5b8

Browse files
committed
fixup! Add rich error message for sh into off environment
1 parent 97703f7 commit abcf5b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/coder/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ func main() {
4747
var cliErr clog.RichCLIMessage
4848
if xerrors.As(err, &cliErr) {
4949
fmt.Println(cliErr.Error())
50+
os.Exit(1)
5051
} else {
5152
flog.Fatal("%v", err)
5253
}

0 commit comments

Comments
 (0)