fix: unbound variable

This commit is contained in:
Ruben Solvang 2025-05-07 14:20:48 +02:00
parent aee6f5ed8b
commit 5edef1fe64

View file

@ -159,7 +159,7 @@ install_certificate() {
if [ "$FORCE_UPDATE" = "true" ]; then
needs_reload=1
elif [ "$FULLCHAIN_PEM" = "true" ] && [ -f "$final_pem" ]; then
if ! cmp -s "$final_pem" "$temp_cert_pem"; then
if ! cmp -s "$final_pem" "$temp_pem"; then
needs_reload=1
fi
elif [ -f "$final_cert" ]; then