diff options
author | Qi Wang <qiwan@redhat.com> | 2020-02-18 15:45:48 -0500 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-03-05 09:21:41 -0500 |
commit | d4540e07c73ed5576f42f653781e1af19d8b1f0d (patch) | |
tree | 2602b0cd10b602b7f5a7c240f646972e6d2743c3 /pkg/bindings/test/images_test.go | |
parent | d5f5b2e8becfb3a6e13d8b3248e26f3fbe22bdb4 (diff) | |
download | podman-d4540e07c73ed5576f42f653781e1af19d8b1f0d.tar.gz podman-d4540e07c73ed5576f42f653781e1af19d8b1f0d.tar.bz2 podman-d4540e07c73ed5576f42f653781e1af19d8b1f0d.zip |
Fix bug podman reset to not remove $XDG_RUNTIME_DIR
In some older systems we point the temporary directory to /run/user/1000 which leads podman system reset to clear unrelated files under XDG_RUNTIME_DIR. This patch only removes files created by podman if TmpDir is the same as the XDG_RUNTIME_DIR.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/bindings/test/images_test.go')
0 files changed, 0 insertions, 0 deletions