summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-01 16:55:43 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-01 16:55:43 +0000
commitc3f73fde2d3a455a4860282c9437d5703e779af6 (patch)
tree3ae5dd5904d0e3a800e687605cb2467f13f51e41
parenta850cdd2b54a1aeda985ff60ac9c87024d5dce1e (diff)
(pass4): If a reconnect fails while we are preening, give up.
-rw-r--r--ufs-fsck/pass4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ufs-fsck/pass4.c b/ufs-fsck/pass4.c
index 17c0b307..f8fe9814 100644
--- a/ufs-fsck/pass4.c
+++ b/ufs-fsck/pass4.c
@@ -73,6 +73,8 @@ pass4()
reconn_failed = !linkup (number, -1);
if (! reconn_failed)
pfix ("RECONNECTED");
+ if (preen && reconn_failed)
+ pfail ("RECONNECT FAILED");
}
if (dino.di_size == 0 || reconn_failed)
{