From e516b3876cf9dc5084c234230e5c607870eb4948 Mon Sep 17 00:00:00 2001 From: Dominik Przybyl Date: Thu, 21 Mar 2024 14:05:08 +0100 Subject: [PATCH] minor --- pkg/content/content.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/content/content.go b/pkg/content/content.go index ddfed2af..5ae596d5 100644 --- a/pkg/content/content.go +++ b/pkg/content/content.go @@ -342,7 +342,7 @@ func (c Manager) undoParentsBackup(root string) error { if err := eachFilesInDir(parent, func(path string) error { return deleteFile(path, func() bool { - return !strings.HasSuffix(path, ParentsBackupSuffix) || !strings.HasSuffix(path, ParentsBackupDirIndicator) + return !strings.HasSuffix(path, ParentsBackupSuffix) }) }); err != nil { return err