summaryrefslogtreecommitdiff
path: root/libpod/define/pod_inspect.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-07-13 11:03:01 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-07-14 12:55:37 -0400
commitdc2ca45d751ee04253742bfafd5d807ce52c24ec (patch)
treea72cb5b99b4d4ad2f639d57434888bde1d975b3c /libpod/define/pod_inspect.go
parentd83077b16c14b05967fa1f92c7067299367a286f (diff)
downloadpodman-dc2ca45d751ee04253742bfafd5d807ce52c24ec.tar.gz
podman-dc2ca45d751ee04253742bfafd5d807ce52c24ec.tar.bz2
podman-dc2ca45d751ee04253742bfafd5d807ce52c24ec.zip
When determining systemd mode, use full command
We were only using the Command field in specgen when determining whether to enable systemd if systemd=true (the default) was used. This does not include the entrypoint, and does not include any entrypoint/command sourced from the image - so an image could be running systemd and we'd not correctly detect this. Using the full, final command resolves this and matches Podman v1.9.x behavior. Fixes #6920 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/define/pod_inspect.go')
0 files changed, 0 insertions, 0 deletions