summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ffs/main.c')
-rw-r--r--sbin/fsck_ffs/main.c3
1 files changed, 1 insertions, 2 deletions
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();
}
OpenPOWER on IntegriCloud