2011-02-25 15:28:12 +01:00
|
|
|
--- nbd-2.9.20/nbd-client.c 2009-08-05 11:52:04.000000000 +0200
|
|
|
|
+++ nbd-2.9.20/nbd-client.c 2009-08-05 11:54:20.000000000 +0200
|
2009-08-06 01:07:56 +02:00
|
|
|
@@ -62,6 +62,7 @@
|
|
|
|
len=read(fd, buf, 256);
|
|
|
|
buf[len-1]='\0';
|
|
|
|
if(do_print) printf("%s\n", buf);
|
|
|
|
+ close (fd);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|