summaryrefslogtreecommitdiff
path: root/doIncoming.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-11 08:54:40 -0500
committerJeff Carr <[email protected]>2025-10-11 09:26:40 -0500
commit20c8b7a721064197d42b8f1447abfca98d7bd350 (patch)
tree8f0aa2c4b5c400f278d4aa9a035b315e263ab3d8 /doIncoming.go
parent8561ed36abf865c261184dea856c42c20f01d155 (diff)
working on finding the newest packages
Diffstat (limited to 'doIncoming.go')
-rw-r--r--doIncoming.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doIncoming.go b/doIncoming.go
index a683bef..531f99d 100644
--- a/doIncoming.go
+++ b/doIncoming.go
@@ -61,7 +61,7 @@ func doIncoming(pb *zoopb.Packages) (string, error) {
os.Rename(path, newfilename)
log.Printf("%s moved incoming oldname %s newname: %s\n", found.Package, path, newfilename)
incount += 1
- if counter > 100 {
+ if incount > 100 {
me.sh.GoodExit("file moved")
}
return nil