projects
/
evpf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor error handling fixed
[evpf.git]
/
src
/
main.rs
diff --git
a/src/main.rs
b/src/main.rs
index
d44387c
..
51ea94e
100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-254,7
+254,9
@@
fn run_interactive_mode (match_num : ®ex::Regex) {
if rl.save_history (&hist_file.unwrap()).is_err () {
eprintln! ("{}", SAVE_HISTORY_ERROR);
}
- }
+ } else {
+ eprintln! ("{}", &hist_file.unwrap_err());
+ }
}
fn main() {