projects
/
oweals
/
nmrpflash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Exit after successful upload in blind mode
[oweals/nmrpflash.git]
/
nmrp.c
diff --git
a/nmrp.c
b/nmrp.c
index 29d3c6dd733e836f25c149d663b1fc8deed8a917..9df5b307a09eb5db0184a774ea6cce50bfddd97f 100644
(file)
--- 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);