1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

android: increase the retries + sleep

This commit is contained in:
Sylvestre Ledru 2023-04-29 19:49:44 +02:00
parent ac068e0487
commit ba8fa58a9a

View file

@ -116,8 +116,8 @@ run_termux_command() {
sleep 5 sleep 5
local timeout=${timeout:-3600} local timeout=${timeout:-3600}
local retries=${retries:-3} local retries=${retries:-10}
local sleep_interval=${sleep_interval:-5} local sleep_interval=${sleep_interval:-10}
try_fix=3 try_fix=3
echo "run_termux_command with timeout=$timeout / retries=$retries / sleep_interval=$sleep_interval" echo "run_termux_command with timeout=$timeout / retries=$retries / sleep_interval=$sleep_interval"
while ! adb shell "ls $probe" 2>/dev/null; do while ! adb shell "ls $probe" 2>/dev/null; do