summaryrefslogtreecommitdiff
path: root/pkg/rootless/rootless_unsupported.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-10-15 14:32:24 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-10-17 19:12:10 +0200
commit64f53b4f02baf386740a05821cb496349ffc84f5 (patch)
treec63bb0c23b64834a4079afc6acb25881b4f75f92 /pkg/rootless/rootless_unsupported.go
parentf2d9a9d2abd1405d8ea5fb7b94715f6f87618226 (diff)
downloadpodman-64f53b4f02baf386740a05821cb496349ffc84f5.tar.gz
podman-64f53b4f02baf386740a05821cb496349ffc84f5.tar.bz2
podman-64f53b4f02baf386740a05821cb496349ffc84f5.zip
rootless: do not enable lingering mode
do not automatically enable lingering mode. Closes: https://github.com/containers/libpod/issues/4224 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/rootless/rootless_unsupported.go')
-rw-r--r--pkg/rootless/rootless_unsupported.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go
index ce488f364..1499b737f 100644
--- a/pkg/rootless/rootless_unsupported.go
+++ b/pkg/rootless/rootless_unsupported.go
@@ -37,12 +37,6 @@ func GetRootlessGID() int {
return -1
}
-// EnableLinger configures the system to not kill the user processes once the session
-// terminates
-func EnableLinger() (string, error) {
- return "", nil
-}
-
// TryJoinFromFilePaths attempts to join the namespaces of the pid files in paths.
// This is useful when there are already running containers and we
// don't have a pause process yet. We can use the paths to the conmon