Merge pull request #4089 from vrothberg/fix-4005

runtime: fix logic to disable SDNotify
This commit is contained in:
OpenShift Merge Robot 2019-09-24 15:12:27 +02:00 committed by GitHub
commit 83b2348313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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") {