X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Freopen.c;h=9e1901839829a2bb8400f2ef378d938eeea3e86c;hp=2dfc8db6f8d36f8929dd6729624b141bd94cc774;hb=b5c287bcd456bdb02d8ec0443483df34f4fd6b5d;hpb=a96d70113ffcd01f55262c3d0fbe711bee759fec diff --git a/fish/reopen.c b/fish/reopen.c index 2dfc8db..9e19018 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;