From 27adaf97bfbf3e4297a0d98778f80ebe7bfe50b1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 10 Oct 2025 18:51:15 -0500 Subject: wasn't saving before exit. todo: make smart change tracking --- doPatch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3