summaryrefslogtreecommitdiff
path: root/libpod/container_internal_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-09 17:46:28 -0700
committerGitHub <noreply@github.com>2019-04-09 17:46:28 -0700
commit60ef8f8da90ec5200e62b79b24324fefde2c7036 (patch)
treeec403dcd9b0b80d188e400a18d432539b67faf28 /libpod/container_internal_linux.go
parent40a1df38d1b6971dd1df9e06bf190c924dbad5a3 (diff)
parent09ff62429a324e01ad2c584afe9a5f66f580ae78 (diff)
downloadpodman-60ef8f8da90ec5200e62b79b24324fefde2c7036.tar.gz
podman-60ef8f8da90ec5200e62b79b24324fefde2c7036.tar.bz2
podman-60ef8f8da90ec5200e62b79b24324fefde2c7036.zip
Merge pull request #2663 from jwhonce/wip/remote_umount
Implement podman-remote umount and rm command
Diffstat (limited to 'libpod/container_internal_linux.go')
-rw-r--r--libpod/container_internal_linux.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index 4d6bf61a3..eeffa4705 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -30,7 +30,7 @@ import (
spec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/opencontainers/runtime-tools/generate"
"github.com/opencontainers/selinux/go-selinux/label"
- opentracing "github.com/opentracing/opentracing-go"
+ "github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"golang.org/x/sys/unix"
@@ -48,6 +48,8 @@ func (c *Container) unmountSHM(mount string) error {
if err := unix.Unmount(mount, unix.MNT_DETACH); err != nil {
if err != syscall.EINVAL {
logrus.Warnf("container %s failed to unmount %s : %v", c.ID(), mount, err)
+ } else {
+ logrus.Debugf("container %s failed to unmount %s : %v", c.ID(), mount, err)
}
}
return nil