summaryrefslogtreecommitdiff
path: root/windowPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'windowPatches.go')
-rw-r--r--windowPatches.go4
1 files changed, 2 insertions, 2 deletions
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
}
})