Merge "Exfat Need to add automatic repair function when exfat fsck device" am: 7e249ebdae am: 8006c80960

am: 42726be6a3

Change-Id: Ic8f3d783087dde9550230e36749eab49b30d9fdc
This commit is contained in:
shaozhongqi 2019-11-08 15:26:27 -08:00 committed by android-build-merger
commit 0ddfc941b8

View file

@ -41,6 +41,7 @@ bool IsSupported() {
status_t Check(const std::string& source) { status_t Check(const std::string& source) {
std::vector<std::string> cmd; std::vector<std::string> cmd;
cmd.push_back(kFsckPath); cmd.push_back(kFsckPath);
cmd.push_back("-a");
cmd.push_back(source); cmd.push_back(source);
int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext); int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext);