fixes tmp dir building

adds a / to the tmp directory
This commit is contained in:
Michael Parker 2020-04-18 15:23:56 -04:00
parent 9e0cacc076
commit a60e261a49

View File

@ -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)
}