From 490da10d04ac329dfb36b16a94ff306b8430d78c Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Mon, 2 Mar 2020 11:29:54 +0100 Subject: [PATCH] Exit after successful upload in blind mode --- nmrp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nmrp.c b/nmrp.c index 29d3c6d..9df5b30 100644 --- a/nmrp.c +++ b/nmrp.c @@ -634,6 +634,10 @@ int nmrp_do(struct nmrpd_args *args) } if (!status) { + if (args->blind) { + goto out; + } + printf("Waiting for remote to respond.\n"); upload_ok = 1; ethsock_set_timeout(sock, args->ul_timeout); -- 2.25.1