mirror of
https://github.com/postmannen/ctrl.git
synced 2025-01-07 04:49:17 +00:00
removed \n in error printing
This commit is contained in:
parent
adc8aab809
commit
dcdbc9308e
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ func copySrcSubProcFunc(proc process, cia copyInitialData, cancel context.Cancel
|
||||||
// We don't care about the error.
|
// We don't care about the error.
|
||||||
fi, err := os.Stat(file)
|
fi, err := os.Stat(file)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
er := fmt.Errorf("DEBUG: ERROR while os.Stat(file): copySrcProcFunc, fileInfo: %v, err: %v\n", fi, err)
|
er := fmt.Errorf("DEBUG: ERROR while os.Stat(file): copySrcProcFunc, fileInfo: %v, err: %v", fi, err)
|
||||||
proc.errorKernel.errSend(proc, Message{}, er, logWarning)
|
proc.errorKernel.errSend(proc, Message{}, er, logWarning)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue