diff options
Diffstat (limited to 'sbin/fsck')
-rw-r--r-- | sbin/fsck/preen.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/fsck/preen.c b/sbin/fsck/preen.c index 09403ec..068154c 100644 --- a/sbin/fsck/preen.c +++ b/sbin/fsck/preen.c @@ -115,7 +115,10 @@ checkfstab(int flags, int (*docheck)(struct fstab *), if (fs->fs_passno > passno && fs->fs_passno < nextpass) nextpass = fs->fs_passno; - if (passno != fs->fs_passno || (*docheck)(fs) == 0) + if (passno != fs->fs_passno) + continue; + + if ((*docheck)(fs) == 0) continue; if (flags & CHECK_DEBUG) |