summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index f46c2efce..cc497630e 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -141,9 +141,7 @@ impl CliMainWorker {
};
self.pending_unload = false;
- if let Err(err) = result {
- return Err(err);
- }
+ result?;
self
.inner