summaryrefslogtreecommitdiffstats
path: root/fish/reopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'fish/reopen.c')
-rw-r--r--fish/reopen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fish/reopen.c b/fish/reopen.c
index 2dfc8db6..9e190183 100644
--- a/fish/reopen.c
+++ b/fish/reopen.c
@@ -66,6 +66,9 @@ do_reopen (const char *cmd, int argc, char *argv[])
if (p)
guestfs_set_path (g2, p);
+ if (progress_bars)
+ guestfs_set_progress_callback (g2, progress_callback, NULL);
+
/* Close the original handle. */
guestfs_close (g);
g = g2;