aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com> 2021-01-03 04:48:45 -0500
committerMax Rees <maxcrees@me.com> 2021-01-03 04:53:10 -0500
commit7b8a2834427936891db1f02e13067bcfda5a17d3 (patch)
tree4adbb146438bce6c363fd2b658bef55821e55141
parent07d32a6c76b36c8e53ed648b3060a64ee37136ab (diff)
comproot: don't dump_files() unless -vv given
In the future we will probably remove this entirely in favor of implementing something like fakeroot's -s/-i, but leave it here for now.
-rw-r--r--src/comproot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comproot.c b/src/comproot.c
index 7bbe09e..ac7d451 100644
--- a/src/comproot.c
+++ b/src/comproot.c
@@ -242,7 +242,8 @@ static int stage1(char *argv[], int arg_offset) {
}
}
- file_walk(dump_files);
+ if (comproot.verbose >= 2)
+ file_walk(dump_files);
return rc;
}