From 5cfbdd924b60b5f8ffdf1c46f31e574fae882937 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 14 May 1996 20:50:39 +0000 Subject: (pass2): Fix up test in preen case. --- ufs-fsck/pass2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ufs-fsck/pass2.c b/ufs-fsck/pass2.c index e42df39b..9d5f638c 100644 --- a/ufs-fsck/pass2.c +++ b/ufs-fsck/pass2.c @@ -93,10 +93,11 @@ pass2 () if (inodestate[dp->d_ino] == UNALLOC) { pinode (0, dnp->i_number, "REF TO UNALLOCATED NODE IN"); - if (reply ("REMOVE")) + if (preen || reply ("REMOVE")) { dp->d_ino = 0; mod = 1; + pfix ("REMOVED"); continue; } } -- cgit v1.2.3