Commits
Kir Kolyshkin authored 6c957fc1705
e2fsck(): properly check e2fsck binary exit code A quote from e2fsck(8) man page: > The exit code returned by e2fsck is the sum of the following conditions: > 0 - No errors > 1 - File system errors corrected > 2 - File system errors corrected, system should > be rebooted > 4 - File system errors left uncorrected > 8 - Operational error > 16 - Usage or syntax error > 32 - E2fsck canceled by user request > 128 - Shared library error So, if e2fsck returns anything less than 4, we are still good to go. Reference: PSBM-20497 Signed-off-by: Kir Kolyshkin <kir@openvz.org>