From 438a8812f6cbd83556ad2d146068e8eca37ca2f4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 28 Jan 2025 21:50:07 -0600 Subject: smarter git pull --- windowPatches.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'windowPatches.go') diff --git a/windowPatches.go b/windowPatches.go index bcb41bb..793afb8 100644 --- a/windowPatches.go +++ b/windowPatches.go @@ -130,8 +130,8 @@ func (r *patchesWindow) addPatchset(line string) { log.Info(name, "was nil") return } - if !savePatchset(pset) { - log.Info("Save: some patches are bad", name) + if err := savePatchset(pset); err != nil { + log.Info("Save: some patches are bad", name, err) return } }) -- cgit v1.2.3