remove unnecessary trailing newline character when stdout is enabled

This commit is contained in:
Travis 2024-02-15 12:04:19 +08:00
parent ce91e3b420
commit 88421182d0
1 changed files with 1 additions and 1 deletions

View File

@ -1098,7 +1098,7 @@ func (c *Client) transfer() (err error) {
if err = os.Remove(pathToFile); err != nil {
log.Warnf("error removing %s: %v", pathToFile, err)
}
fmt.Print("\n")
fmt.Fprint(os.Stderr, "\n")
}
if err != nil && strings.Contains(err.Error(), "pake not successful") {
log.Debugf("pake error: %s", err.Error())