diff --git a/cmd_debug.c b/cmd_debug.c index 808226d9..e11d495c 100644 --- a/cmd_debug.c +++ b/cmd_debug.c @@ -94,6 +94,7 @@ int cmd_dump(int argc, char *argv[]) opt_set(opts, norecovery, true); opt_set(opts, degraded, true); opt_set(opts, errors, BCH_ON_ERROR_CONTINUE); + opt_set(opts, fix_errors, FSCK_OPT_YES); while ((opt = getopt(argc, argv, "o:fh")) != -1) switch (opt) {