mirror of
https://github.com/nivekuil/rip
synced 2024-11-26 13:40:19 +00:00
Fix wrong path being passed to write_log
This commit is contained in:
parent
e30bec17f5
commit
f2ff166e12
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ Send files to the graveyard (/tmp/.graveyard) instead of unlinking them.")
|
|||
};
|
||||
if let Err(e) = bury(grave, dest) {
|
||||
println!("ERROR: {}: {}", e, grave);
|
||||
} else if let Err(e) = write_log(grave, dest, graveyard) {
|
||||
} else if let Err(e) = write_log(grave, dest, histfile) {
|
||||
println!("Error adding {} to histfile: {}", grave, e);
|
||||
} else {
|
||||
println!("Returned {} to {}", grave, dest.display());
|
||||
|
|
Loading…
Reference in a new issue