mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
pkg/util: use code from c/storage
[NO NEW TESTS NEEDED] no new functionalities are added Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -82,7 +82,7 @@ func (r *RootlessNetNS) Do(toRun func() error) error {
|
||||
return fmt.Errorf("cannot create a new mount namespace: %w", err)
|
||||
}
|
||||
|
||||
xdgRuntimeDir, err := util.GetRuntimeDir()
|
||||
xdgRuntimeDir, err := util.GetRootlessRuntimeDir()
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not get runtime directory: %w", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user