aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vbackup/vbackup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/vbackup/vbackup.c')
-rw-r--r--src/cmd/vbackup/vbackup.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c
index 4c9fd386..42e4f7ba 100644
--- a/src/cmd/vbackup/vbackup.c
+++ b/src/cmd/vbackup/vbackup.c
@@ -345,10 +345,17 @@ threadmain(int argc, char **argv)
fsysclose(fsys);
diskclose(disk);
vtcachefree(zcache);
- vtgoodbye(z);
+
+ // Vtgoodbye hangs on Linux - not sure why.
+ // Probably vtfcallrpc doesn't quite get the
+ // remote hangup right. Also probably related
+ // to the vtrecvproc problem below.
+ // vtgoodbye(z);
+
// Leak here, because I can't seem to make
// the vtrecvproc exit.
// vtfreeconn(z);
+
free(tmpnam);
z = nil;
zcache = nil;