We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2271e4c commit cea66afCopy full SHA for cea66af
1 file changed
.github/scripts/pam-pkcs11-test.sh
@@ -64,8 +64,8 @@ fi
64
echo "[*] Configuring pam_pkcs11..."
65
66
# Temporarily unset WOLFPROV_FORCE_FAIL so we can test the failure case
67
-ORIG_WOLFPROV_FORCE_FAIL="$WOLFPROV_FORCE_FAIL"
68
-unset WOLFPROV_FORCE_FAIL
+ORIG_WOLFPROV_FORCE_FAIL="${WOLFPROV_FORCE_FAIL:-}"
+unset WOLFPROV_FORCE_FAIL || true
69
70
# Generate dummy CA cert if missing
71
if [ ! -f /test/certs/test-ca.crt ]; then
0 commit comments