mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
fish: In 'reopen' copy trace setting to new handle.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user