diff --git a/qubes-rpc/vm-file-editor.c b/qubes-rpc/vm-file-editor.c index f37b04a..fe077c7 100644 --- a/qubes-rpc/vm-file-editor.c +++ b/qubes-rpc/vm-file-editor.c @@ -64,6 +64,7 @@ void send_file_back(char * filename) if (!copy_fd_all(1, fd)) exit(1); close(fd); + close(1); } int