vm-file-editor: close output when done writing
This commit is contained in:
parent
81e9f967be
commit
47c657b123
@ -64,6 +64,7 @@ void send_file_back(char * filename)
|
|||||||
if (!copy_fd_all(1, fd))
|
if (!copy_fd_all(1, fd))
|
||||||
exit(1);
|
exit(1);
|
||||||
close(fd);
|
close(fd);
|
||||||
|
close(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user