mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
fsck: use symbolic names where we have them
This commit is contained in:
@@ -414,7 +414,7 @@ static int run(int argc, char *argv[]) {
|
||||
exit_status = wait_for_terminate_and_check("fsck", pid, WAIT_LOG_ABNORMAL);
|
||||
if (exit_status < 0)
|
||||
return exit_status;
|
||||
if (exit_status & ~1) {
|
||||
if ((exit_status & ~FSCK_ERROR_CORRECTED) != FSCK_SUCCESS) {
|
||||
log_error("fsck failed with exit status %i.", exit_status);
|
||||
|
||||
if ((exit_status & FSCK_SYSTEM_SHOULD_REBOOT) && root_directory) {
|
||||
|
||||
Reference in New Issue
Block a user