diff --git a/cmd/tile38-cli/main.go b/cmd/tile38-cli/main.go index ff5893db..c8129aa0 100644 --- a/cmd/tile38-cli/main.go +++ b/cmd/tile38-cli/main.go @@ -375,6 +375,8 @@ func main() { } } else if err == liner.ErrPromptAborted { return + } else if err == io.EOF { + os.Exit(0) } else { fmt.Fprintf(os.Stderr, "Error reading line: %s", err.Error()) }