summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-02 01:03:40 +0100
committerGitHub <noreply@github.com>2020-12-02 01:03:40 +0100
commit9c5fe954cca8b4bcb8f552645e1f52a5d9824134 (patch)
tree48ceca3e5efcf65998a4551e02d6af05cbfd4c15
parentc585012db395e259b13157a685d7f9596c0b9f7d (diff)
parentbf6b22809219da03334fe9d5b84d540c39daf151 (diff)
downloadpodman-9c5fe954cca8b4bcb8f552645e1f52a5d9824134.tar.gz
podman-9c5fe954cca8b4bcb8f552645e1f52a5d9824134.tar.bz2
podman-9c5fe954cca8b4bcb8f552645e1f52a5d9824134.zip
Merge pull request #8543 from mheon/no_syslog_true
Do not use "true" after "syslog" in exit commands
-rw-r--r--pkg/specgen/generate/container_create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go
index 45a374216..95e4eeb8f 100644
--- a/pkg/specgen/generate/container_create.go
+++ b/pkg/specgen/generate/container_create.go
@@ -388,7 +388,7 @@ func CreateExitCommandArgs(storageConfig storage.StoreOptions, config *config.Co
}
if syslog {
- command = append(command, "--syslog", "true")
+ command = append(command, "--syslog")
}
command = append(command, []string{"container", "cleanup"}...)