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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user