[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:
snowleo 2011-05-02 16:59:25 +00:00
parent 592c30f5da
commit 2af13fd062

View File

@ -120,6 +120,8 @@ public class EssentialsUpgrade
{
throw new Exception("Failed to rename temp file to config.yml");
}
} else {
tempFile.delete();
}
}