|
|
@ -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);
|
|
|
|