Merge pull request #28 from pterodactyl/fix/tmp_directory
fixes tmp dir building
This commit is contained in:
commit
0a815d72a5
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user