summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd_dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd_dump.c b/cmd_dump.c
index e1f0a5aa..bf570dc6 100644
--- a/cmd_dump.c
+++ b/cmd_dump.c
@@ -122,6 +122,7 @@ int cmd_dump(int argc, char *argv[])
bool force = false, entire_journal = true;
int fd, opt;
+ opt_set(opts, read_only, true);
opt_set(opts, nochanges, true);
opt_set(opts, norecovery, true);
opt_set(opts, degraded, true);