From d94f8db27ab8165c30b939b4a8d8d99b2ccee327 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Mon, 10 Mar 2025 18:58:34 +0100 Subject: [PATCH] Stop logging W as an L --- instruction.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/instruction.go b/instruction.go index d673949..ee85e48 100644 --- a/instruction.go +++ b/instruction.go @@ -167,7 +167,10 @@ func (instruction *LinkInstruction) RunAsync(status chan (error)) { } if !instruction.Force && AreSame(instruction.Source, instruction.Target) { - status <- fmt.Errorf("source %s and target %s are the same, nothing to do...", + //status <- fmt.Errorf("source %s and target %s are the same, nothing to do...", + // FormatSourcePath(instruction.Source), + // FormatTargetPath(instruction.Target)) + LogInfo("Source %s and target %s are the same, nothing to do...", FormatSourcePath(instruction.Source), FormatTargetPath(instruction.Target)) return