Skip to content

Commit 9feceb8

Browse files
committed
triage: AND, nor OR for checking key material
1 parent b46afe1 commit 9feceb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

device-triage/triage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [ -z "${RPI_DEVICE_BOOTLOADER_CONFIG_FILE}" ]; then
2121
RPI_DEVICE_BOOTLOADER_CONFIG_FILE=/var/lib/rpi-sb-provisioner/bootloader.default
2222
fi
2323

24-
if [ -z "${CUSTOMER_KEY_FILE_PEM}" ] || [ -z "${CUSTOMER_KEY_PKCS11_NAME}" ]; then
24+
if [ -z "${CUSTOMER_KEY_FILE_PEM}" ] && [ -z "${CUSTOMER_KEY_PKCS11_NAME}" ]; then
2525
echo "You must provide a key in the environment via CUSTOMER_KEY_FILE_PEM, or a key name via CUSTOMER_KEY_PKCS11_NAME"
2626
exit 1
2727
fi

0 commit comments

Comments
 (0)