tool_operate: break out of loop on error
Follow-up to 69bf530dfd
The loop could get stuck there in torture tests/OOM.
Closes #15322
This commit is contained in:
parent
38bfe1c2aa
commit
8cdbaba4bf
@ -2994,6 +2994,7 @@ static CURLcode serial_transfers(struct GlobalConfig *global,
|
||||
if(result) {
|
||||
returncode = result;
|
||||
bailout = TRUE;
|
||||
break;
|
||||
}
|
||||
} while(skipped);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user