vm-file-editor: close output when done writing

This commit is contained in:
Vincent Penquerc'h 2013-12-29 07:10:15 -05:00 committed by Marek Marczykowski-Górecki
parent 81e9f967be
commit 47c657b123

View File

@ -64,6 +64,7 @@ void send_file_back(char * filename)
if (!copy_fd_all(1, fd))
exit(1);
close(fd);
close(1);
}
int