commit | 81ed259a35c2804c07e994890d51d9b5f2f164c9 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Tue Sep 12 01:03:08 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Sep 12 01:03:08 2023 +0000 |
tree | 9d18d4279cff52cbc07ae2be567348ca5da52a8f | |
parent | b6f66fd7b42bab1006fec4ff834ec1c7c41ebcf3 [diff] | |
parent | 5b9fd68dfaee202dbd53919c9d454d32666b66c3 [diff] |
Merge "Handle errors corrected exit status returned by fsck" into main
diff --git a/fs/Exfat.cpp b/fs/Exfat.cpp index c8b19e0..ed53921 100644 --- a/fs/Exfat.cpp +++ b/fs/Exfat.cpp
@@ -48,6 +48,9 @@ if (rc == 0) { LOG(INFO) << "Check OK"; return 0; + } else if (rc == 1) { + LOG(INFO) << "Filesystem errors corrected"; + return 0; } else { LOG(ERROR) << "Check failed (code " << rc << ")"; errno = EIO;