garbage_collect: call fail_on_abort to abort GV when requested.

This commit is contained in:
Dietmar Maurer
2020-05-05 09:06:34 +02:00
parent 74f7240b8d
commit 99641a6bbb
4 changed files with 13 additions and 9 deletions

View File

@ -514,7 +514,7 @@ impl WorkerTask {
/// Fail if abort was requested.
pub fn fail_on_abort(&self) -> Result<(), Error> {
if self.abort_requested() {
bail!("task '{}': abort requested - aborting task", self.upid);
bail!("abort requested - aborting task");
}
Ok(())
}