diff --git a/repl/cli/cli.go b/repl/cli/cli.go index f7618ea9..2e1da88a 100644 --- a/repl/cli/cli.go +++ b/repl/cli/cli.go @@ -126,7 +126,9 @@ func RunREPL() { defer rl.Close() err := rl.ReadHistory() if err != nil { - fmt.Printf("Failed to open history: %v\n", err) + if !os.IsNotExist(err) { + fmt.Printf("Failed to open history: %v\n", err) + } } for {