chiark / gitweb /
fsck: drop -C from fsck cmdline to avoid EPIPE
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 21 Oct 2010 10:22:30 +0000 (12:22 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 21 Oct 2010 10:22:30 +0000 (12:22 +0200)
src/fsck.c

index e13dcf4..fe56be7 100644 (file)
@@ -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";