mirror of
https://github.com/containers/podman.git
synced 2025-06-22 09:58:10 +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))
|
options = append(options, libpod.WithDefaultInfraCommand(infraCommand))
|
||||||
}
|
}
|
||||||
|
|
||||||
if withFDS {
|
if !withFDS {
|
||||||
options = append(options, libpod.WithEnableSDNotify())
|
options = append(options, libpod.WithEnableSDNotify())
|
||||||
}
|
}
|
||||||
if c.Flags().Changed("config") {
|
if c.Flags().Changed("config") {
|
||||||
|
Reference in New Issue
Block a user