From dcdbc9308ed8c6846a82fe1a19be9bd73c0faba0 Mon Sep 17 00:00:00 2001 From: postmannen Date: Mon, 2 Dec 2024 15:45:16 +0100 Subject: [PATCH] removed \n in error printing --- requests_copy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests_copy.go b/requests_copy.go index abcaa62..b7c304d 100644 --- a/requests_copy.go +++ b/requests_copy.go @@ -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) }