mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Return instead of break, otherwise warning is shown
This commit is contained in:
parent
db93aa6d5c
commit
7754f2722a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ ynh_wait_dpkg_free() {
|
||||||
# Sleep an exponential time at each round
|
# Sleep an exponential time at each round
|
||||||
sleep $(( try * try ))
|
sleep $(( try * try ))
|
||||||
else
|
else
|
||||||
break
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "apt still used, but timeout reached !"
|
echo "apt still used, but timeout reached !"
|
||||||
|
|
Loading…
Add table
Reference in a new issue