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: