summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 18:51:15 -0500
committerJeff Carr <[email protected]>2025-10-10 18:51:15 -0500
commit27adaf97bfbf3e4297a0d98778f80ebe7bfe50b1 (patch)
tree861f1081aad0c0d5ed8fda60ef569fb2de30d69a /doPatch.go
parente60c05f670aa3b34d501fc467b5729b89f0f431a (diff)
wasn't saving before exit. todo: make smart change tracking
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doPatch.go b/doPatch.go
index c6fc031..f044e64 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -173,6 +173,7 @@ func doPatchProcess() (string, error) {
}
newpatches.Clone(p)
}
+ curpatches.Save()
if newpatches.Len() == 0 {
s := log.Sprintf("All (%d) current patches are appled. You are completely up to date!", curpatches.Len())
return s, nil
@@ -181,7 +182,6 @@ func doPatchProcess() (string, error) {
log.Info("BRAND NEW PATCHES:", footer)
var s string
s = log.Sprintf("There are %d new patches. Use --fix to apply them", needfix)
- curpatches.Save()
return s, nil
}