From a60e261a49dee257cd545b2ce18d1e4073b1e073 Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Sat, 18 Apr 2020 15:23:56 -0400 Subject: [PATCH] fixes tmp dir building adds a / to the tmp directory --- server/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/install.go b/server/install.go index e86ada1..f8ac734 100644 --- a/server/install.go +++ b/server/install.go @@ -131,7 +131,7 @@ func (ip *InstallationProcess) Run() error { // Writes the installation script to a temporary file on the host machine so that it // can be properly mounted into the installation container and then executed. func (ip *InstallationProcess) writeScriptToDisk() (string, error) { - d, err := ioutil.TempDir("", "pterodactyl") + d, err := ioutil.TempDir("", "pterodactyl/") if err != nil { return "", errors.WithStack(err) }