summaryrefslogtreecommitdiffstats
path: root/src/commands/tab_ops.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/tab_ops.rs')
-rw-r--r--src/commands/tab_ops.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/tab_ops.rs b/src/commands/tab_ops.rs
index 4bf415e..a5789cf 100644
--- a/src/commands/tab_ops.rs
+++ b/src/commands/tab_ops.rs
@@ -20,7 +20,7 @@ fn _tab_switch(new_index: usize, context: &mut JoshutoContext) -> std::io::Resul
.tab_context_mut()
.curr_tab_mut()
.history_mut()
- .create_or_soft_update(path.as_path(), &options);
+ .create_or_soft_update(path.as_path(), &options)?;
Ok(())
}