aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-24 15:12:27 +0200
committerGitHub <noreply@github.com>2019-09-24 15:12:27 +0200
commit83b2348313c52cc3e20d72285a9d81d3d72c2d5d (patch)
tree9a8088f9cbb91d0839dc8487b3ccc95bff817372
parent6ce8d05a5b06d97a2897411fcbd4da6a3abb4d65 (diff)
parent3b90f1c765b0005aa915792cbdef5e4ffe791775 (diff)
downloadpodman-83b2348313c52cc3e20d72285a9d81d3d72c2d5d.tar.gz
podman-83b2348313c52cc3e20d72285a9d81d3d72c2d5d.tar.bz2
podman-83b2348313c52cc3e20d72285a9d81d3d72c2d5d.zip
Merge pull request #4089 from vrothberg/fix-4005
runtime: fix logic to disable SDNotify
-rw-r--r--cmd/podman/libpodruntime/runtime.go2
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") {