Check for error in directory walker (ref #308)

This commit is contained in:
Jakob Borg 2014-05-28 19:08:44 +02:00
parent 9bf13b253c
commit f7a25adcbd

View File

@ -220,6 +220,10 @@ func (p *puller) fixupDirectories() {
var changed = 0
var walkFn = func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if !info.IsDir() {
return nil
}