mirror of
https://github.com/containers/podman.git
synced 2025-06-03 12:17:13 +08:00
generate systemd: wrap pod/ctr lookup errors
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -41,7 +41,7 @@ func filterPodFlags(command []string) []string {
|
||||
for i := 0; i < len(command); i++ {
|
||||
s := command[i]
|
||||
if s == "--pod" || s == "--pod-id-file" {
|
||||
i += 1
|
||||
i++
|
||||
continue
|
||||
}
|
||||
processed = append(processed, s)
|
||||
|
Reference in New Issue
Block a user