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