only show status message if there is one to show
Upstream-commit: d94a5b7d05a66c6856d719fbdd8770f7b154503b Component: engine
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user