[archiver] Minor fixup

This commit is contained in:
Ciprian Dorin Craciun 2018-11-09 20:58:38 +02:00
parent 2566ac55ad
commit 4b86c2ef50

View file

@ -271,9 +271,9 @@ func walkPath (_context *context, _path string, _prefix string, _name string, _r
if _context.debug { if _context.debug {
log.Printf ("[ ] <> %s\n", _pathInArchive) log.Printf ("[ ] <> %s\n", _pathInArchive)
if _error := archiveFolder (_context, _pathResolved, _pathInArchive, _names, _stats); _error != nil { }
return _error if _error := archiveFolder (_context, _pathResolved, _pathInArchive, _names, _stats); _error != nil {
} return _error
} }
_recursed[_pathResolved] = _wasRecursed _recursed[_pathResolved] = _wasRecursed