Add a trailing newline to our CLI error output.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
b0d9db1bcc
commit
a15a106fd3
@ -22,7 +22,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
err := run(os.LookupEnv, client.ExchangeToken, os.Stdout, 30*time.Second)
|
err := run(os.LookupEnv, client.ExchangeToken, os.Stdout, 30*time.Second)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
_, _ = fmt.Fprintf(os.Stderr, "%s", err.Error())
|
_, _ = fmt.Fprintf(os.Stderr, "%s\n", err.Error())
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user