1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

removed \n in error printing

This commit is contained in:
postmannen 2024-12-02 15:45:16 +01:00
parent adc8aab809
commit dcdbc9308e

View file

@ -424,7 +424,7 @@ func copySrcSubProcFunc(proc process, cia copyInitialData, cancel context.Cancel
// We don't care about the error.
fi, err := os.Stat(file)
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)
}