From 85171386d8fd62db23adb9abf59da50de6da54da Mon Sep 17 00:00:00 2001 From: dg Date: Sun, 21 Aug 1994 08:47:10 +0000 Subject: Better support for clean bit: prompt the user to fix it if it's wrong when not preening, and indicate if it was fixed when preening. --- sbin/fsck_ffs/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sbin/fsck_ffs/main.c') diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index f2dba1c..5ff6918 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -285,8 +285,7 @@ checkfilesys(filesys, mntpt, auxdata, child) duplist = (struct dups *)0; muldup = (struct dups *)0; inocleanup(); - if (fsmodified || (!sblock.fs_clean && preen && !nflag && !hotroot)) { - sblock.fs_clean = 1; + if (fsmodified) { (void)time(&sblock.fs_time); sbdirty(); } -- cgit v1.1