mirror of
https://github.com/containers/podman.git
synced 2025-05-22 09:36:57 +08:00
14 lines
162 B
Go
14 lines
162 B
Go
package qemu
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
func getRuntimeDir() (string, error) {
|
|
tmpDir, ok := os.LookupEnv("TMPDIR")
|
|
if !ok {
|
|
tmpDir = "/tmp"
|
|
}
|
|
return tmpDir, nil
|
|
}
|