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
34a5006ea2
commit
0ac908326a
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 $(( try * try ))
|
||||
else
|
||||
break
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
echo "apt still used, but timeout reached !"
|
||||
|
|
Loading…
Add table
Reference in a new issue