From 51ccf641d7573041cf40f131cfd004eed1dc6f82 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 21 Oct 2010 12:22:30 +0200 Subject: [PATCH] fsck: drop -C from fsck cmdline to avoid EPIPE --- src/fsck.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fsck.c b/src/fsck.c index e13dcf4d..fe56be74 100644 --- a/src/fsck.c +++ b/src/fsck.c @@ -135,7 +135,7 @@ static void test_files(void) { } int main(int argc, char *argv[]) { - const char *cmdline[8]; + const char *cmdline[7]; int i = 0, r = EXIT_FAILURE, q; pid_t pid; siginfo_t status; @@ -197,7 +197,6 @@ int main(int argc, char *argv[]) { cmdline[i++] = "/sbin/fsck"; cmdline[i++] = "-a"; cmdline[i++] = "-T"; - cmdline[i++] = "-C"; if (!root_directory) cmdline[i++] = "-M"; -- 2.39.5