mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
remove unnecessary trailing newline character when stdout is enabled
This commit is contained in:
parent
a240a4b982
commit
4f1f57b1ba
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@ func (c *Client) transfer() (err error) {
|
||||||
if err = os.Remove(pathToFile); err != nil {
|
if err = os.Remove(pathToFile); err != nil {
|
||||||
log.Warnf("error removing %s: %v", pathToFile, err)
|
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") {
|
if err != nil && strings.Contains(err.Error(), "pake not successful") {
|
||||||
log.Debugf("pake error: %s", err.Error())
|
log.Debugf("pake error: %s", err.Error())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue