From ee88da345f4f7a448f4503d377bd0b6e89245fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20H=C3=A4ggstr=C3=B6m?= Date: Wed, 3 Jul 2024 17:44:25 +0800 Subject: [PATCH] Exit with non-zero exit code if resize.f2fs fails --- fsck/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fsck/main.c b/fsck/main.c index c9411eb1..e21d60be 100644 --- a/fsck/main.c +++ b/fsck/main.c @@ -618,7 +618,8 @@ int main(int argc, char **argv) goto out_err; break; case RESIZE: - if (do_resize(sbi)) + ret = do_resize(sbi); + if (ret) goto out_err; break; case SLOAD: