Solve issue with timeout executions

This commit is contained in:
Jose Gonzalez 2020-08-14 08:51:02 +02:00
parent 1c20cbd197
commit dedfe518af
1 changed files with 2 additions and 2 deletions

View File

@ -1678,7 +1678,7 @@ sub execute_command_timeout {
};
my $result = ($?>>8);
print $result;
return $result;
# Exit child.
# Child finishes.
@ -1753,7 +1753,7 @@ sub execute_command_block {
);
# Do not retry if success.
last if looks_like_number($err_level) && $err_level == 0;
$retries = 0 if looks_like_number($err_level) && $err_level == 0;
} while ((--$retries) > 0);