From 6869c6fe6faf7343769d146b8171ab5084b9b56c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 9 Dec 2018 18:05:40 -0800 Subject: Send cli errors to stderr --- cli/ask_credentials.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/ask_credentials.go') diff --git a/cli/ask_credentials.go b/cli/ask_credentials.go index 9021d9b..7bd60a0 100644 --- a/cli/ask_credentials.go +++ b/cli/ask_credentials.go @@ -17,7 +17,7 @@ func askCredentials() (string, string) { fd := int(os.Stdin.Fd()) if !terminal.IsTerminal(fd) { - fmt.Fprintf(os.Stderr, "This is not a terminal, exiting.") + fmt.Fprintf(os.Stderr, "This is not a terminal, exiting.\n") os.Exit(1) } -- cgit v1.2.3