From 332a8f81df3933e1878fce87b73993dcde412ee4 Mon Sep 17 00:00:00 2001 From: sivakumar subraani Date: Wed, 22 Nov 2023 17:28:29 +0000 Subject: [PATCH] review comment --- pkg/kopia/command.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kopia/command.go b/pkg/kopia/command.go index 284e3006d..e453733e9 100644 --- a/pkg/kopia/command.go +++ b/pkg/kopia/command.go @@ -503,8 +503,8 @@ func (c *Command) ExcludeFileListCmd() *exec.Cmd { "--config-file", configFile, } - hashSplit := strings.Split(c.ExcludeFileList, "#") - for _, file := range hashSplit { + commaSplit := strings.Split(c.ExcludeFileList, ",") + for _, file := range commaSplit { argsSlice = append(argsSlice, "--add-ignore") argsSlice = append(argsSlice, file) }