diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2019-09-24 12:11:59 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2019-09-24 12:11:59 +0200 |
commit | 3b90f1c765b0005aa915792cbdef5e4ffe791775 (patch) | |
tree | 9a8088f9cbb91d0839dc8487b3ccc95bff817372 | |
parent | 6ce8d05a5b06d97a2897411fcbd4da6a3abb4d65 (diff) | |
download | podman-3b90f1c765b0005aa915792cbdef5e4ffe791775.tar.gz podman-3b90f1c765b0005aa915792cbdef5e4ffe791775.tar.bz2 podman-3b90f1c765b0005aa915792cbdef5e4ffe791775.zip |
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 <rothberg@redhat.com>
-rw-r--r-- | cmd/podman/libpodruntime/runtime.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") { |