summaryrefslogtreecommitdiff
path: root/tests/f_unsorted_EAs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-02-16 22:02:35 -0500
committerTheodore Ts'o <tytso@mit.edu>2017-02-16 22:02:35 -0500
commitbf9f3b6d5b10d19218b4ed904c12b22e36ec57dd (patch)
tree06b3cb37bf2a064dfb5cf0a790572495b1fbd049 /tests/f_unsorted_EAs
parent03a179a10ef44c7057d5aad3d6654ee6b507f2ed (diff)
downloade2fsprogs-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_unsorted_EAs')
-rw-r--r--tests/f_unsorted_EAs/expect.12
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/f_unsorted_EAs/expect.1 b/tests/f_unsorted_EAs/expect.1
index 7d588d7a..64b9045e 100644
--- a/tests/f_unsorted_EAs/expect.1
+++ b/tests/f_unsorted_EAs/expect.1
@@ -8,4 +8,4 @@ Pass 5: Checking group summary information
test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
test_filesys: 12/2048 files (0.0% non-contiguous), 1294/2048 blocks
-Exit status is 1
+Exit status is 0