Exit after successful upload in blind mode
This commit is contained in:
parent
aca33657c0
commit
490da10d04
1 changed files with 4 additions and 0 deletions
4
nmrp.c
4
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue