Merge "Exfat Need to add automatic repair function when exfat fsck device"

This commit is contained in:
Treehugger Robot 2019-11-08 22:43:45 +00:00 committed by Gerrit Code Review
commit 7e249ebdae

View file

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