diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-04-14 06:29:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-14 06:29:42 -0700 |
commit | 167ce59416f6e03f4477269e33e9e5cf5b700a86 (patch) | |
tree | ae2dabac0563eef391158707980e8bfef8e11a19 /libpod | |
parent | eed8bbf3f9e01d03203a199c04aa886835ffd9b5 (diff) | |
parent | 5e6065d9ac1f7c08ddd86c0c5ebb355e7628f9bf (diff) | |
download | podman-167ce59416f6e03f4477269e33e9e5cf5b700a86.tar.gz podman-167ce59416f6e03f4477269e33e9e5cf5b700a86.tar.bz2 podman-167ce59416f6e03f4477269e33e9e5cf5b700a86.zip |
Merge pull request #2928 from giuseppe/fix-umount
oci: fix umount of /sys/kernel
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/oci_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_linux.go b/libpod/oci_linux.go index 01f7c3649..1f5411c1f 100644 --- a/libpod/oci_linux.go +++ b/libpod/oci_linux.go @@ -133,7 +133,7 @@ func (r *OCIRuntime) createContainer(ctr *Container, cgroupParent string, restor continue } err = unix.Unmount(m.Mountpoint, 0) - if err != nil { + if err != nil && !os.IsNotExist(err) { return errors.Wrapf(err, "cannot unmount %s", m.Mountpoint) } } |