diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/open_file.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commands/open_file.rs b/src/commands/open_file.rs index 1cbb0ce..42f1ea4 100644 --- a/src/commands/open_file.rs +++ b/src/commands/open_file.rs @@ -76,7 +76,9 @@ fn _open_with_xdg( let handle = open::that_in_background(path); let result = handle.join(); backend.terminal_restore()?; - result.unwrap()?; + if let Ok(result) = result { + result?; + } } Ok(()) } |