mirror of
https://github.com/containers/podman.git
synced 2025-06-22 09:58:10 +08:00
generate systemd: remove leading slashes
Remove leading slashes from the run-dir paths. It was meant to make it explicit that we're dealing with an absolute path but user feedback has shown that most are aware. It also cleans up the path in the systemctl status output. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -191,7 +191,7 @@ var _ = Describe("Podman generate systemd", func() {
|
||||
found, _ := session.GrepString("# container-foo.service")
|
||||
Expect(found).To(BeTrue())
|
||||
|
||||
found, _ = session.GrepString("stop --ignore --cidfile /%t/%n-cid -t 42")
|
||||
found, _ = session.GrepString("stop --ignore --cidfile %t/%n-cid -t 42")
|
||||
Expect(found).To(BeTrue())
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user