cert-enroll: Fixed typo

This typo prevented the cert-enroll script from successfully
signalling a detected change of the sub CA certificate.
This commit is contained in:
Andreas Steffen
2024-09-07 17:17:07 +02:00
parent 55a660d9f7
commit 957aae8f64
+1 -1
View File
@@ -160,7 +160,7 @@ function check_ca_certs()
fi
SUBCA_CHANGED=0
cmp -s $SUBCA new/$SUBCA || SUBCA_CHANGE=$?
cmp -s $SUBCA new/$SUBCA || SUBCA_CHANGED=$?
if [ $SUBCA_CHANGED -ne 0 ]
then
echo "Warning: '$SUBCA' has changed"