[control] Pause fixes: Restore waits until an unsaved pause is on disk, unwritable config files pause with a way out, a failed promote at start starts paused, a revert that cannot see edge is not reverted
This commit is contained in:
@@ -187,7 +187,6 @@ impl Shares {
|
||||
// Readable by edge (another user); it holds only random link ids.
|
||||
let text =
|
||||
serde_json::to_vec(&RevocationFile { epoch, deny }).map_err(|e| e.to_string())?;
|
||||
crate::crash::fail_write(&self.revocations)?;
|
||||
crate::util::write_atomic(&self.revocations, &text, 0o644)
|
||||
.map_err(|e| format!("cannot write {}: {e}", self.revocations.display()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user