summaryrefslogtreecommitdiff
path: root/ufs-fsck
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
commite1e0b6e178236af39dd9026e48325f65d2f38f7d (patch)
tree9560f929badd3c04a694ac1618e97d9e44467e5c /ufs-fsck
parent4ce402c236f986d294eeafd3221e89a18ee4c9e6 (diff)
(pass4): If a reconnect fails while we are preening, give up.
Diffstat (limited to 'ufs-fsck')
-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)
{