mirror of
https://github.com/containers/podman.git
synced 2025-06-21 01:19:15 +08:00
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:
@ -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") {
|
||||
|
Reference in New Issue
Block a user