mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 19:14:55 +00:00
Bug fix for SU mode
This commit is contained in:
parent
58178a8192
commit
67817c4b98
@ -1062,6 +1062,7 @@ public class Server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (!coreIsLoaded(collectionName)) {
|
||||||
// In single user mode, the index is stored in case output directory
|
// In single user mode, the index is stored in case output directory
|
||||||
File dataDir = new File(new File(index.getIndexPath()).getParent()); // "data dir" is the parent of the index directory
|
File dataDir = new File(new File(index.getIndexPath()).getParent()); // "data dir" is the parent of the index directory
|
||||||
if (!dataDir.exists()) {
|
if (!dataDir.exists()) {
|
||||||
@ -1081,6 +1082,7 @@ public class Server {
|
|||||||
throw new KeywordSearchModuleException(NbBundle.getMessage(this.getClass(), "Server.openCore.exception.noIndexDir.msg"));
|
throw new KeywordSearchModuleException(NbBundle.getMessage(this.getClass(), "Server.openCore.exception.noIndexDir.msg"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return new Collection(collectionName, theCase, index);
|
return new Collection(collectionName, theCase, index);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user