Revert "Make sure to create entire path for directory, fixes #5429"
This reverts commit 77dd9eb8
This will completely break symlinks on linux.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
parent
8084ca43b9
commit
64f69cf5c9
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class FileUtils
|
||||||
{
|
{
|
||||||
LOGGER.debug(CORE,"Making {} directory : {}", dirLabel, dirPath);
|
LOGGER.debug(CORE,"Making {} directory : {}", dirLabel, dirPath);
|
||||||
try {
|
try {
|
||||||
Files.createDirectories(dirPath);
|
Files.createDirectory(dirPath);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
if (e instanceof FileAlreadyExistsException) {
|
if (e instanceof FileAlreadyExistsException) {
|
||||||
LOGGER.fatal(CORE,"Failed to create {} directory - there is a file in the way", dirLabel);
|
LOGGER.fatal(CORE,"Failed to create {} directory - there is a file in the way", dirLabel);
|
||||||
|
|
Loading…
Reference in a new issue