commit | fb9b2e7c9cf90e2c4eabcf1cffbde443e8eeb360 | [log] [tgz] |
---|---|---|
author | Samuel Smith <satlug@net153.net> | Fri Jul 04 22:38:21 2025 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Jul 09 12:43:09 2025 -0400 |
tree | 962cd08c9f73bc8a11f392ba265fa8c9b78fdb32 | |
parent | da631e117dcf8797bfda0f48bdaa05ac0fbcf7af [diff] |
e2scrub: reorder exit status check after calling lvremove Checking for snapshot device existence resets the status code in $?. Reording the conditions will allow the retry loop to work properly. Signed-off-by: Samuel Smith <satlug@net153.net> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Link: https://lore.kernel.org/r/20250705033821.3695205-1-satlug@net153.net Signed-off-by: Theodore Ts'o <tytso@mit.edu>