From 3b90f1c765b0005aa915792cbdef5e4ffe791775 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 24 Sep 2019 12:11:59 +0200 Subject: runtime: fix logic to disable SDNotify Fix the logic when getting the runtime for varlink to actually disable SDNotify support. Fixes: #4005 Signed-off-by: Valentin Rothberg --- cmd/podman/libpodruntime/runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/podman/libpodruntime/runtime.go b/cmd/podman/libpodruntime/runtime.go index a133549ea..6dafeb0b0 100644 --- a/cmd/podman/libpodruntime/runtime.go +++ b/cmd/podman/libpodruntime/runtime.go @@ -171,7 +171,7 @@ func getRuntime(ctx context.Context, c *cliconfig.PodmanCommand, renumber, migra options = append(options, libpod.WithDefaultInfraCommand(infraCommand)) } - if withFDS { + if !withFDS { options = append(options, libpod.WithEnableSDNotify()) } if c.Flags().Changed("config") { -- cgit v1.2.3-54-g00ecf