This commit is contained in:
pushrbx 2024-11-13 19:30:40 +00:00
parent 5e0d0fd5d8
commit a318f243d6
No known key found for this signature in database
GPG Key ID: A16A474BBC2C91D9

View File

@ -247,10 +247,6 @@ class IncrementalIndexer extends Command implements PromptsForMissingInput
$this->fetchIds($mediaType, $idsToFetch, $delay, $resume);
}
if ($this->cancelled && $this->receivedSignal > 0)
{
return 128 + $this->receivedSignal;
}
return 0;
return $this->cancelled && $this->receivedSignal > 0 ? 128 + $this->receivedSignal : 0;
}
}