summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dissect/dissect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c
index dafd474a30..f2851e25f8 100644
--- a/src/dissect/dissect.c
+++ b/src/dissect/dissect.c
@@ -896,6 +896,8 @@ static int action_list_or_copy(DissectedImage *m, LoopDevice *d) {
if (dfd < 0)
return log_error_errno(errno, "Failed to open mount directory: %m");
+ pager_open(arg_pager_flags);
+
r = recurse_dir(dfd, NULL, 0, UINT_MAX, RECURSE_DIR_SORT, list_print_item, NULL);
if (r < 0)
return log_error_errno(r, "Failed to list image: %m");