diff --git a/image/tools/lib/encryption/gpg.sh b/image/tools/lib/encryption/gpg.sh index c196d49..ced7ed6 100644 --- a/image/tools/lib/encryption/gpg.sh +++ b/image/tools/lib/encryption/gpg.sh @@ -1,6 +1,6 @@ function check_encryption_enabled { local result=$(oc get secret -n ${ENCRYPTION_SECRET_NAMESPACE} ${ENCRYPTION_SECRET_NAME} -o template --template='{{.metadata.name}}') - if [ "$result" -eq "${ENCRYPTION_SECRET_NAME}" ]; then + if [ "$result" == "${ENCRYPTION_SECRET_NAME}" ]; then return 0 else return 1