diff options
Diffstat (limited to 'findNext.go')
| -rw-r--r-- | findNext.go | 5 |
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) } |
