fix: non-interactive force update

This commit is contained in:
Ruben Solvang 2025-05-07 13:21:45 +02:00
parent b319625b29
commit aee6f5ed8b

View file

@ -244,7 +244,7 @@ check_cert_expiration() {
}
main_menu() {
if [ "$AUTO_MODE" = "true" ]; then
if [ "$AUTO_MODE" = "true" ] || [ "$FORCE_UPDATE" = "true" ]; then
process_certificates
exit 0
fi