diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-06 15:43:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-06 15:43:33 +0000 |
commit | dc58d4e2858bf6688a775277adf8f775afc30e73 (patch) | |
tree | e41b1e3299a8d759546b56ffd5f5c6aadf1a6ac9 /pkg/util | |
parent | 47a1c9652657ba963be2f8fb1760f75dc33e2301 (diff) | |
parent | 3daef2e82638a7bdae5037d4fc0d8918a57368e3 (diff) | |
download | podman-dc58d4e2858bf6688a775277adf8f775afc30e73.tar.gz podman-dc58d4e2858bf6688a775277adf8f775afc30e73.tar.bz2 podman-dc58d4e2858bf6688a775277adf8f775afc30e73.zip |
Merge pull request #8241 from rhatdan/tmpfile
Use /tmp/podman-run-* for backup XDG_RUNTIME_DIR
Diffstat (limited to 'pkg/util')
-rw-r--r-- | pkg/util/utils_supported.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/utils_supported.go b/pkg/util/utils_supported.go index e08fd6dda..2d636a7cb 100644 --- a/pkg/util/utils_supported.go +++ b/pkg/util/utils_supported.go @@ -38,7 +38,7 @@ func GetRuntimeDir() (string, error) { } } if runtimeDir == "" { - tmpDir := filepath.Join(os.TempDir(), fmt.Sprintf("run-%s", uid)) + tmpDir := filepath.Join(os.TempDir(), fmt.Sprintf("podman-run-%s", uid)) if err := os.MkdirAll(tmpDir, 0700); err != nil { logrus.Debug(err) } |