We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aebfc8f commit cbf1308Copy full SHA for cbf1308
src/fsck/fsck.c
@@ -414,7 +414,7 @@ static int run(int argc, char *argv[]) {
414
exit_status = wait_for_terminate_and_check("fsck", pid, WAIT_LOG_ABNORMAL);
415
if (exit_status < 0)
416
return exit_status;
417
- if (exit_status & ~1) {
+ if ((exit_status & ~FSCK_ERROR_CORRECTED) != FSCK_SUCCESS) {
418
log_error("fsck failed with exit status %i.", exit_status);
419
420
if ((exit_status & FSCK_SYSTEM_SHOULD_REBOOT) && root_directory) {
0 commit comments