mirror of https://github.com/containers/podman.git
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>
This commit is contained in:
parent
6ce8d05a5b
commit
3b90f1c765
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue