1
0
Fork 0
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:
Alexandre Aubin 2018-12-03 14:02:12 +01:00
parent 34a5006ea2
commit 0ac908326a

View file

@ -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 !"