git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2064e43
)
fish: In 'reopen' copy trace setting to new handle.
author
Richard Jones
<rjones@redhat.com>
Sat, 8 May 2010 08:14:00 +0000
(09:14 +0100)
committer
Richard Jones
<rjones@redhat.com>
Sat, 8 May 2010 08:14:00 +0000
(09:14 +0100)
fish/reopen.c
patch
|
blob
|
history
diff --git
a/fish/reopen.c
b/fish/reopen.c
index
f2d35c7
..
2dfc8db
100644
(file)
--- 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);