Skip to content

Commit cea66af

Browse files
committed
Use parameter expansion for WPFF flag
1 parent 2271e4c commit cea66af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/scripts/pam-pkcs11-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ fi
6464
echo "[*] Configuring pam_pkcs11..."
6565

6666
# 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
67+
ORIG_WOLFPROV_FORCE_FAIL="${WOLFPROV_FORCE_FAIL:-}"
68+
unset WOLFPROV_FORCE_FAIL || true
6969

7070
# Generate dummy CA cert if missing
7171
if [ ! -f /test/certs/test-ca.crt ]; then

0 commit comments

Comments
 (0)