diff options
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index 4100764..14bd984 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -928,7 +928,9 @@ impl Settings { // Its content would be a change of its own before the policy's: a swarm // strict from its start has none, so it starts empty. Ok(Some(policy)) - if self.remake.is_some() && crate::access::policy::read(&policy).strict() => + if self.remake.is_some() + && crate::access::policy::as_written(&policy) + .is_ok_and(|policy| policy.strict()) => { bail!( "bootstrap-policy: a strict swarm starts empty, not from remake; one started from content turns strict through a strict remake" |
