mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Check for empty database paths.
This commit is contained in:
parent
767397bcb4
commit
15d112e3e8
@ -1243,9 +1243,9 @@ public class SharedConfiguration {
|
||||
HashDbManager hashDbManager = HashDbManager.getInstance();
|
||||
hashDbManager.loadLastSavedConfiguration();
|
||||
for (HashDbManager.HashDb hashDb : hashDbManager.getAllHashSets()) {
|
||||
if (hashDb.hasIndexOnly()) {
|
||||
if (hashDb.hasIndexOnly() && (!hashDb.getIndexPath().isEmpty())) {
|
||||
results.add(hashDb.getIndexPath());
|
||||
} else {
|
||||
} else if (!hashDb.getDatabasePath().isEmpty()) {
|
||||
results.add(hashDb.getDatabasePath());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user