From a96d70113ffcd01f55262c3d0fbe711bee759fec Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 8 May 2010 09:14:00 +0100 Subject: [PATCH] fish: In 'reopen' copy trace setting to new handle. --- fish/reopen.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 1.8.3.1