From ab7862049a3311c5ab3d22dde07823560d13afe0 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 26 Mar 2008 08:11:11 -0400 Subject: [PATCH] fsck: Fix -C handling so that subsequent progress bars are enabled The exiting fsck instance wasn't marked as DONE, so the safety checks thought a progress bar was still in progress, and so we didn't enable another filesystem's checking. Addresses-Debian-Bug: #432865 Addresses-Launchpad-Bug: #203323 Addresses-Sourceforge-Bug: #1926023 Signed-off-by: "Theodore Ts'o" --- misc/fsck.c | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/fsck.c b/misc/fsck.c index db572b1..14d7a95 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -615,6 +615,7 @@ static struct fsck_instance *wait_one(int flags) status = EXIT_ERROR; } inst->exit_status = status; + inst->flags |= FLAG_DONE; if (progress && (inst->flags & FLAG_PROGRESS) && !progress_active()) { for (inst2 = instance_list; inst2; inst2 = inst2->next) { -- 1.8.3.1