mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
Send cli errors to stderr
This commit is contained in:
parent
59d8e9b95e
commit
6869c6fe6f
4 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue