mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
Merge pull request #2725 from rhatdan/syslog
Need to pass the true paramater with --syslog in cobra
This commit is contained in:
@ -363,7 +363,7 @@ func (c *CreateConfig) createExitCommand() []string {
|
|||||||
command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...)
|
command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...)
|
||||||
}
|
}
|
||||||
if c.Syslog {
|
if c.Syslog {
|
||||||
command = append(command, "--syslog")
|
command = append(command, "--syslog", "true")
|
||||||
}
|
}
|
||||||
command = append(command, []string{"container", "cleanup"}...)
|
command = append(command, []string{"container", "cleanup"}...)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user