1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-08-31 00:22:00 +00:00

7673 Fix just introduced bug in IngestJobPipeline.hasFileIngestModules()

This commit is contained in:
Richard Cordovano
2021-08-02 16:53:34 -04:00
parent 442d294190
commit 5c19ae5295

View File

@@ -538,7 +538,10 @@ final class IngestJobPipeline {
* @return True or false.
*/
boolean hasFileIngestModules() {
return (fileIngestPipelines.isEmpty() == false);
if (!fileIngestPipelines.isEmpty()) {
return !fileIngestPipelines.get(0).isEmpty();
}
return false;
}
/**
@@ -1438,7 +1441,7 @@ final class IngestJobPipeline {
}
pausedIngestThreads.clear();
}
// If a data source had no tasks in progress it may now be complete.
checkForStageCompleted();
}