]> err.no Git - systemd/commitdiff
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 e13dcf4d9d975a95cfc46a4a86c13bb0f5f932e0..fe56be74ce8f8633aff03202eea7b95e949dc0f6 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";