From: Richard Jones Date: Sat, 8 May 2010 08:14:00 +0000 (+0100) Subject: fish: In 'reopen' copy trace setting to new handle. X-Git-Tag: 1.3.11~8 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=a96d70113ffcd01f55262c3d0fbe711bee759fec;p=libguestfs.git fish: In 'reopen' copy trace setting to new handle. --- diff --git a/fish/reopen.c b/fish/reopen.c index f2d35c7..2dfc8db 100644 --- a/fish/reopen.c +++ b/fish/reopen.c @@ -54,6 +54,10 @@ do_reopen (const char *cmd, int argc, char *argv[]) if (r >= 0) guestfs_set_verbose (g2, r); + r = guestfs_get_trace (g); + if (r >= 0) + guestfs_set_trace (g2, r); + r = guestfs_get_autosync (g); if (r >= 0) guestfs_set_autosync (g2, r);