summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
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
}