mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
fix small error (inverted logic)
obvious error that prevents process() from running in the normal case; could be confusing to newcomers (which is who examples are really aimed toward)
This commit is contained in:
parent
282398aa80
commit
e98d821ae4
@ -98,7 +98,7 @@ class SampleFileIngestModule implements FileIngestModule {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IngestModule.ProcessResult process(AbstractFile file) {
|
public IngestModule.ProcessResult process(AbstractFile file) {
|
||||||
if (attrId != -1) {
|
if (attrId == -1) {
|
||||||
return IngestModule.ProcessResult.ERROR;
|
return IngestModule.ProcessResult.ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user