17503: the deduplication report tool should not require the Arvados
[arvados.git] / lib / crunchrun / copier.go
index b1497277f2d52971d7a2bbe4c24e90e583500360..1b0f168b88856e8251108f11e928321b5d642c0b 100644 (file)
@@ -195,9 +195,8 @@ func (cp *copier) walkMount(dest, src string, maxSymlinks int, walkMountsBelow b
        }
        if walkMountsBelow {
                return cp.walkMountsBelow(dest, src)
-       } else {
-               return nil
        }
+       return nil
 }
 
 func (cp *copier) walkMountsBelow(dest, src string) error {