Skip to content
Browse files

[IO-276] deleteDirectoryOnExit does not work

  • Loading branch information...
1 parent 8474758 commit 763d6bc011a23334dbf126a43f2db0561dab417f @krosenvold krosenvold committed Jan 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/codehaus/plexus/util/FileUtils.java
View
2 src/main/java/org/codehaus/plexus/util/FileUtils.java
@@ -1491,9 +1491,9 @@ private static void deleteDirectoryOnExit( final File directory )
{
return;
}
+ directory.deleteOnExit(); // The hook reverses the list
cleanDirectoryOnExit( directory );
- directory.deleteOnExit();
}
/**

0 comments on commit 763d6bc

Please sign in to comment.
Something went wrong with that request. Please try again.