mirror of
https://github.com/containers/podman.git
synced 2025-06-19 08:09:12 +08:00
Merge pull request #8500 from giuseppe/set-xdg-dirs
runtime: set XDG_* env variables if missing
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user