From 54b0dce54be025b5256d29bac63328d623b2a23c Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 11 Feb 2020 16:28:10 +0100 Subject: [PATCH] Respect argument passed to Untar in helpers --- pkg/helpers/archive.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/helpers/archive.go b/pkg/helpers/archive.go index d898bf0e..42c4b07d 100644 --- a/pkg/helpers/archive.go +++ b/pkg/helpers/archive.go @@ -21,8 +21,6 @@ import ( "os" "path/filepath" - . "github.com/mudler/luet/pkg/config" - "github.com/docker/docker/pkg/archive" ) @@ -61,7 +59,7 @@ func Untar(src, dest string, sameOwner bool) error { } defer in.Close() - if LuetCfg.GetGeneral().SameOwner { + if sameOwner { // PRE: i have root privileged. opts := &archive.TarOptions{