Fix return statement in package installation function
This commit is contained in:
parent
da23956f4d
commit
6df299a13a
@ -218,6 +218,7 @@ upgrade_packages_with_retry() {
|
|||||||
-o Dpkg::Options::="--force-confdef" \
|
-o Dpkg::Options::="--force-confdef" \
|
||||||
-o Dpkg::Options::="--force-confold" \
|
-o Dpkg::Options::="--force-confold" \
|
||||||
"${packages[@]}" 2>/dev/null; then
|
"${packages[@]}" 2>/dev/null; then
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
retry=$((retry + 1))
|
retry=$((retry + 1))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user