summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-30 04:43:51 -0600
committerJeff Carr <[email protected]>2025-01-30 04:43:51 -0600
commit2ea06531dc85cac8cd8293ce3ee9d5f3642943d4 (patch)
treef77a7be651e183702907ba38d12a3817dd74bcb7 /findNext.go
parent8d4687e2c1d5df279e120f3c76f45fe6f292e3b5 (diff)
minor debugging on the end
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/findNext.go b/findNext.go
index f9d7dd5..14d3558 100644
--- a/findNext.go
+++ b/findNext.go
@@ -125,7 +125,10 @@ func findNext() bool {
return true
}
if findCounter == 0 {
- log.Info("NOTHING TO UPDATE. findCounter =", findCounter)
+ log.Info("NOTHING TO UPDATE. findCounter =", findCounter, "found len =", me.found.Len())
+ if me.found.Len() == 0 {
+ okExit("")
+ }
} else {
log.Info("me.current is nil findCounter =", findCounter, "so set findFix =", findFix)
}