mirror of
https://github.com/Hopiu/zoxide.git
synced 2026-04-12 03:00:58 +00:00
Saving DB should clear the modified flag
This commit is contained in:
parent
bf76a4e9c1
commit
2f73465d8d
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ impl DB {
|
|||
.context("could not move or delete temporary database file")?;
|
||||
return Err(e).context("could not move temporary database file");
|
||||
}
|
||||
|
||||
self.modified = false;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Reference in a new issue