diff --git a/certman.sh b/certman.sh index 3d2c051..34b2de4 100755 --- a/certman.sh +++ b/certman.sh @@ -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