mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2025-01-01 05:31:48 +00:00
Saving DB should clear the modified flag
This commit is contained in:
parent
bf76a4e9c1
commit
2f73465d8d
@ -93,6 +93,8 @@ impl DB {
|
|||||||
.context("could not move or delete temporary database file")?;
|
.context("could not move or delete temporary database file")?;
|
||||||
return Err(e).context("could not move temporary database file");
|
return Err(e).context("could not move temporary database file");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.modified = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user