From b8e07b20adf379d369cceac4f98744ac9539be6a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 29 Sep 2020 20:36:50 +0200 Subject: [PATCH] Switch to exfatprogs compatible fsck parameter exfatprogs accepts 'y' for no interaction repair. Change-Id: I2c436816a293a36fc9f0cd635cdb9ca3b5f88bfc --- fs/Exfat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/Exfat.cpp b/fs/Exfat.cpp index 34f1024..7782dd3 100644 --- a/fs/Exfat.cpp +++ b/fs/Exfat.cpp @@ -41,7 +41,7 @@ bool IsSupported() { status_t Check(const std::string& source) { std::vector cmd; cmd.push_back(kFsckPath); - cmd.push_back("-a"); + cmd.push_back("-y"); cmd.push_back(source); int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext);