From 5f7c9adccfab0704f147ebfc53d2295de1a3bd5f Mon Sep 17 00:00:00 2001 From: yova Date: Sun, 12 Feb 2023 23:04:25 +0100 Subject: [PATCH] repair is successful Change-Id: I4ebaa4fe029bad42bda095b87d68c752741e406e --- fs/Exfat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/Exfat.cpp b/fs/Exfat.cpp index 34f1024..47459a6 100644 --- a/fs/Exfat.cpp +++ b/fs/Exfat.cpp @@ -45,7 +45,7 @@ status_t Check(const std::string& source) { cmd.push_back(source); int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext); - if (rc == 0) { + if (rc == 0 || rc == 1) { LOG(INFO) << "Check OK"; return 0; } else {