mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
fix arenas if possible
This commit is contained in:
parent
ef609927dd
commit
6a5a2a9562
1 changed files with 3 additions and 4 deletions
|
@ -266,11 +266,10 @@ mirror(Arena *sa, Arena *da)
|
|||
chat("%T %s: %V sealed mirrored\n", sa->name, sa->score);
|
||||
return;
|
||||
}
|
||||
chat("%T %s: sealed score mismatch %V vs %V\n", sa->name, sa->score, da->score);
|
||||
status = "errors";
|
||||
return;
|
||||
chat("%T %s: warning: sealed score mismatch %V vs %V\n", sa->name, sa->score, da->score);
|
||||
/* Keep executing; will correct seal if possible. */
|
||||
}
|
||||
if(da->diskstats.sealed && scorecmp(da->score, zeroscore) != 0){
|
||||
if(!sa->diskstats.sealed && da->diskstats.sealed && scorecmp(da->score, zeroscore) != 0){
|
||||
chat("%T %s: dst is sealed, src is not\n", sa->name);
|
||||
status = "errors";
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue