Switch to exfatprogs compatible fsck parameter
exfatprogs accepts 'y' for no interaction repair. Change-Id: I2c436816a293a36fc9f0cd635cdb9ca3b5f88bfc
This commit is contained in:
parent
d70e2b4ea9
commit
b8e07b20ad
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +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("-y");
|
||||
cmd.push_back(source);
|
||||
|
||||
int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext);
|
||||
|
|
Loading…
Reference in a new issue