projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aca3365
)
Exit after successful upload in blind mode
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Mon, 2 Mar 2020 10:29:54 +0000
(11:29 +0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Mon, 2 Mar 2020 10:29:54 +0000
(11:29 +0100)
nmrp.c
patch
|
blob
|
history
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);