diff options
Diffstat (limited to 'pkg/util')
-rw-r--r-- | pkg/util/utils_supported.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/util/utils_supported.go b/pkg/util/utils_supported.go index bf59240c6..d627208d8 100644 --- a/pkg/util/utils_supported.go +++ b/pkg/util/utils_supported.go @@ -83,9 +83,6 @@ func GetRootlessConfigHomeDir() (string, error) { return } tmpDir := filepath.Join(resolvedHome, ".config") - if err := os.MkdirAll(tmpDir, 0755); err != nil { - logrus.Errorf("unable to make temp dir %s", tmpDir) - } st, err := os.Stat(tmpDir) if err == nil && int(st.Sys().(*syscall.Stat_t).Uid) == os.Geteuid() && st.Mode().Perm() >= 0700 { cfgHomeDir = tmpDir |