mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 12:02:53 +00:00
[trunk] Delete temp files, if they are not needed.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1320 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
592c30f5da
commit
2af13fd062
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ public class EssentialsUpgrade
|
||||||
{
|
{
|
||||||
throw new Exception("Failed to rename temp file to config.yml");
|
throw new Exception("Failed to rename temp file to config.yml");
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
tempFile.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue