diff --git a/cmd/restic/cmd_backup.go b/cmd/restic/cmd_backup.go index 04c358b38..eb04b6c4c 100644 --- a/cmd/restic/cmd_backup.go +++ b/cmd/restic/cmd_backup.go @@ -302,8 +302,8 @@ func readLinesFromFile(filename string) ([]string, error) { if line == "" { continue } - // strip comments - if strings.HasPrefix(line, "#") { + // strip comments + if strings.HasPrefix(line, "#") { continue } lines = append(lines, line)