fix for npe

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5269 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 998861acfd
commit 8ba33f104e

@ -235,6 +235,10 @@ public class diskUsage {
private static void checkVolumesInUseUnix (final String path) {
final File file = new File(path);
final File[] fileList = file.listFiles();
if (fileList == null) {
// the file is not a directory
return;
}
String base;
String dir;

Loading…
Cancel
Save