diff options
-rw-r--r-- | ufs-fsck/pass2.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |