From 4b86c2ef5014becd83ef8227cd6f74c242e47ab6 Mon Sep 17 00:00:00 2001 From: Ciprian Dorin Craciun Date: Fri, 9 Nov 2018 20:58:38 +0200 Subject: [PATCH] [archiver] Minor fixup --- sources/cmd/archiver.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/cmd/archiver.go b/sources/cmd/archiver.go index d0d43ee..a825890 100644 --- a/sources/cmd/archiver.go +++ b/sources/cmd/archiver.go @@ -271,9 +271,9 @@ func walkPath (_context *context, _path string, _prefix string, _name string, _r if _context.debug { 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