diff options
author | Theodore Ts'o <tytso@mit.edu> | 2017-02-16 22:02:35 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-02-16 22:02:35 -0500 |
commit | bf9f3b6d5b10d19218b4ed904c12b22e36ec57dd (patch) | |
tree | 06b3cb37bf2a064dfb5cf0a790572495b1fbd049 /tests/f_convert_bmap | |
parent | 03a179a10ef44c7057d5aad3d6654ee6b507f2ed (diff) | |
download | e2fsprogs-bf9f3b6d5b10d19218b4ed904c12b22e36ec57dd.tar.gz |
e2fsck: exit with exit status 0 if no errors were fixed
Previously, e2fsck would exit with a status code of 1 even though the
only changes that it made to the file system were various
optimziations and not fixing file system corruption. Since the man
page states that an exit status of 1 means "file system errors
corrupted", fix e2fsck to return an exit status of 0.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests/f_convert_bmap')
-rw-r--r-- | tests/f_convert_bmap/expect.1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/f_convert_bmap/expect.1 b/tests/f_convert_bmap/expect.1 index 7d2ca86e..c387962f 100644 --- a/tests/f_convert_bmap/expect.1 +++ b/tests/f_convert_bmap/expect.1 @@ -23,4 +23,4 @@ Pass 5: Checking group summary information test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** test_filesys: 12/128 files (8.3% non-contiguous), 570/2048 blocks -Exit status is 1 +Exit status is 0 |