summaryrefslogtreecommitdiff
path: root/pkg/systemd/generate/common.go
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2021-08-06 12:26:31 +0000
committerGitHub <noreply@github.com>2021-08-06 12:26:31 +0000
commit840981773325499c241d518ffbda06762cfdc759 (patch)
tree10b1d1f80c82b3c8d58864a9669cdcfd3ff7620d /pkg/systemd/generate/common.go
parent0eb2a02620e28383d3e4458854411f277d1e30f7 (diff)
parent30df551bde460f4f37d6dbd373701873fa5353dc (diff)
downloadpodman-840981773325499c241d518ffbda06762cfdc759.tar.gz
podman-840981773325499c241d518ffbda06762cfdc759.tar.bz2
podman-840981773325499c241d518ffbda06762cfdc759.zip
Merge pull request #11074 from vrothberg/auto-update-rollback
auto-update: simple rollback
Diffstat (limited to 'pkg/systemd/generate/common.go')
-rw-r--r--pkg/systemd/generate/common.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/systemd/generate/common.go b/pkg/systemd/generate/common.go
index 349805980..45e12014a 100644
--- a/pkg/systemd/generate/common.go
+++ b/pkg/systemd/generate/common.go
@@ -74,8 +74,7 @@ func filterCommonContainerFlags(command []string, argCount int) []string {
case s == "--sdnotify", s == "--cgroups":
i++
continue
- case strings.HasPrefix(s, "--sdnotify="),
- strings.HasPrefix(s, "--rm="),
+ case strings.HasPrefix(s, "--rm="),
strings.HasPrefix(s, "--cgroups="):
continue
}