diff --git a/src/wormhole/scripts/cmd_send_blocking.py b/src/wormhole/scripts/cmd_send_blocking.py index e59209e..0d52751 100644 --- a/src/wormhole/scripts/cmd_send_blocking.py +++ b/src/wormhole/scripts/cmd_send_blocking.py @@ -96,6 +96,7 @@ def _send_file_blocking(w, appid, them_phase1, fd_to_send, transit_sender): print("File sent.. waiting for confirmation") ack = record_pipe.receive_record() + record_pipe.close() if ack == b"ok\n": print("Confirmation received. Transfer complete.") return 0