From 2cf24994d94163c657d6b1daafe40f049e2df120 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sun, 27 Dec 2020 13:56:45 -0700 Subject: [PATCH] Uncomment important code --- server/filesystem/archive.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/filesystem/archive.go b/server/filesystem/archive.go index 771b532..80ec2fb 100644 --- a/server/filesystem/archive.go +++ b/server/filesystem/archive.go @@ -159,9 +159,9 @@ func (a *Archive) addToArchive(p string, rp string, w *tar.Writer) error { target, err = os.Readlink(s.Name()) if err != nil { // Skip symlinks if the target does not exist. - /*if os.IsNotExist(err) { + if os.IsNotExist(err) { return nil - }*/ + } return errors.WrapIff(err, "failed to read symlink target for '%s'", rp) }