diff options
author | Richard Jones <rjones@redhat.com> | 2010-05-08 09:14:00 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-05-08 09:14:00 +0100 |
commit | a96d70113ffcd01f55262c3d0fbe711bee759fec (patch) | |
tree | d3ce4cd7000d7bdf9b70420cdaa396572c7f8e93 /fish | |
parent | 2064e43bcfc7fc5bde08a0442c646a0a46997875 (diff) | |
download | libguestfs-a96d70113ffcd01f55262c3d0fbe711bee759fec.tar.gz libguestfs-a96d70113ffcd01f55262c3d0fbe711bee759fec.tar.xz libguestfs-a96d70113ffcd01f55262c3d0fbe711bee759fec.zip |
fish: In 'reopen' copy trace setting to new handle.
Diffstat (limited to 'fish')
-rw-r--r-- | fish/reopen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fish/reopen.c b/fish/reopen.c index f2d35c7f..2dfc8db6 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); |