Skip to content

Commit

Permalink
Merge pull request #8500 from giuseppe/set-xdg-dirs
Browse files Browse the repository at this point in the history
runtime: set XDG_* env variables if missing
  • Loading branch information
openshift-merge-robot authored Nov 28, 2020
2 parents ad24392 + 3c6dca2 commit 3110308
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libpod/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ func newRuntimeFromConfig(ctx context.Context, conf *config.Config, options ...R

runtime.config = conf

if err := SetXdgDirs(); err != nil {
return nil, err
}

storeOpts, err := storage.DefaultStoreOptions(rootless.IsRootless(), rootless.GetRootlessUID())
if err != nil {
return nil, err
Expand Down

0 comments on commit 3110308

Please sign in to comment.