diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck/preen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/fsck/preen.c b/sbin/fsck/preen.c index ee1aad2..3313272 100644 --- a/sbin/fsck/preen.c +++ b/sbin/fsck/preen.c @@ -178,7 +178,6 @@ checkfstab(flags, docheck, checkit) continue; } - if (WIFEXITED(status)) retcode = WEXITSTATUS(status); else @@ -215,6 +214,9 @@ checkfstab(flags, docheck, checkit) if (TAILQ_EMPTY(&d->d_part)) { TAILQ_REMOVE(&diskh, d, d_entries); ndisks--; + } else { + if ((ret = startdisk(d, checkit)) != 0) + return ret; } } if (flags & CHECK_DEBUG) { |