From 5edef1fe643b939a6b5a011463f857744cbe2682 Mon Sep 17 00:00:00 2001 From: Ruben Date: Wed, 7 May 2025 14:20:48 +0200 Subject: [PATCH] fix: unbound variable --- certman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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