mirror of https://github.com/containers/podman.git
Merge pull request #6821 from rhatdan/tmp
Set TMPDIR to /var/tmp by default if not set
This commit is contained in:
commit
83bde3bdaf
|
@ -29,6 +29,11 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
// Hard code TMPDIR functions to use /var/tmp, if user did not override
|
||||
if _, ok := os.LookupEnv("TMPDIR"); !ok {
|
||||
os.Setenv("TMPDIR", "/var/tmp")
|
||||
}
|
||||
|
||||
cfg := registry.PodmanConfig()
|
||||
for _, c := range registry.Commands {
|
||||
for _, m := range c.Mode {
|
||||
|
|
Loading…
Reference in New Issue