Files

15 lines
370 B
Diff
Raw Permalink Normal View History

2021-06-27 19:22:02 +01:00
--- main.go.original 2021-06-27 18:46:05.000000000 +0100
+++ main.go 2021-06-27 18:55:34.000000000 +0100
@@ -34,10 +34,7 @@
const BUG_REPORT_URL = "https://github.com/aaronjanse/3mux/issues"
func init() {
- tmp := os.Getenv("TMPDIR")
- if tmp == "" {
- tmp = "/tmp"
- }
+ const tmp = "/tmp"
threemuxDir = path.Join(tmp, "3mux")
os.MkdirAll(threemuxDir, 0700)