summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-10-21 12:22:30 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-10-21 12:22:30 +0200
commit51ccf641d7573041cf40f131cfd004eed1dc6f82 (patch)
tree56345f5327abd2eb37c898466f1fec9730eaddba
parent52f319b29398d36ed8d1a70f68a170c0a85f401d (diff)
fsck: drop -C from fsck cmdline to avoid EPIPE
-rw-r--r--src/fsck.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fsck.c b/src/fsck.c
index e13dcf4d9d..fe56be74ce 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";