Small optimization
authorMikael Berthe <mikael@lilotux.net>
Sun, 29 Jun 2014 01:53:56 +0200
changeset 9 5b58342459eb
parent 8 25ad96511395
child 10 1ee01b135e0e
Small optimization
goduf.go
--- a/goduf.go	Sun Jun 29 01:41:33 2014 +0200
+++ b/goduf.go	Sun Jun 29 01:53:56 2014 +0200
@@ -319,7 +319,7 @@
 			myLog.Printf(5, "  . found %d new duplicates\n", len(l))
 		}
 	}
-	if sType == partialChecksum {
+	if sType == partialChecksum && len(scheduleFull) > 0 {
 		var csList FileObjList
 		for _, fol := range scheduleFull {
 			csList = append(csList, fol...)