diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-03-10 12:16:30 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-03-10 12:18:12 -0400 |
commit | bb0377eb3d225155bd3f1e5e4e774fa4d6e9b0e4 (patch) | |
tree | a96f3f30ce4fdcb754b15b9b3f374caadd34c41a /libpod/runtime_pod_infra_linux.go | |
parent | 7f0128ac333b2d71c7edb11465b933dedc9accf7 (diff) | |
download | podman-bb0377eb3d225155bd3f1e5e4e774fa4d6e9b0e4.tar.gz podman-bb0377eb3d225155bd3f1e5e4e774fa4d6e9b0e4.tar.bz2 podman-bb0377eb3d225155bd3f1e5e4e774fa4d6e9b0e4.zip |
Don't delete another container's resolv and hosts files
The logic of deleting and recreating /etc/hosts and
/etc/resolv.conf only makes sense when we're the one that creates
the files - when we don't, it just removes them, and there's
nothing left to use.
Fixes #2602
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/runtime_pod_infra_linux.go')
0 files changed, 0 insertions, 0 deletions