Skip to content

Commit

Permalink
Fix #11418 - Default TMPDIR to /tmp on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelAnckaert committed Sep 3, 2021
1 parent af58cb1 commit 46d8f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/qemu/options_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
func getRuntimeDir() (string, error) {
tmpDir, ok := os.LookupEnv("TMPDIR")
if !ok {
return "", errors.New("unable to resolve TMPDIR")
tmpDir = "/tmp"
}
return tmpDir, nil
}

0 comments on commit 46d8f62

Please sign in to comment.