summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2019-06-26 15:08:51 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-06-26 15:08:51 -0700
commitcd5df6e1ef2c7d66fcfa99e2e1bf96473625a678 (patch)
treeb70f6aa5549af5e577a9cd580f0d3c6e0cf4b1c0
parent1289741942c1ffbfbd6662546a70737f7cedc3e3 (diff)
parent3601f4790b7240d10deec1848cad81b7a3dfe90c (diff)
downloadvold-cd5df6e1ef2c7d66fcfa99e2e1bf96473625a678.tar.gz
Restore historical behavior with fsck_msdos (always accept fixes).
am: 3601f4790b Change-Id: I0c362a06814657e2ecf1059a942b7c21cf4e3051
-rw-r--r--fs/Vfat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/Vfat.cpp b/fs/Vfat.cpp
index 14c42d6d..4f1e982e 100644
--- a/fs/Vfat.cpp
+++ b/fs/Vfat.cpp
@@ -64,6 +64,7 @@ status_t Check(const std::string& source) {
cmd.push_back(kFsckPath);
cmd.push_back("-p");
cmd.push_back("-f");
+ cmd.push_back("-y");
cmd.push_back(source);
// Fat devices are currently always untrusted