diff --git a/commands.go b/commands.go index 4bf3f8a9df..09a6789216 100644 --- a/commands.go +++ b/commands.go @@ -105,7 +105,9 @@ func (srv *Server) CmdLogin(stdin io.ReadCloser, stdout io.Writer, args ...strin if err != nil { fmt.Fprintf(stdout, "Error : %s\n", err) } - fmt.Fprintf(stdout, status) + if status != "" { + fmt.Fprintf(stdout, status) + } return nil }