GUACAMOLE-271: corrected style of if statement in associate_duo()

This commit is contained in:
Scott Paschke
2019-01-15 17:06:42 -05:00
parent b9a99f0bc1
commit 2f3cbf7fa1

View File

@@ -467,9 +467,9 @@ END
## ##
associate_duo() { associate_duo() {
# Verify required parameters are present # Verify required parameters are present
if [ -z "$DUO_INTEGRATION_KEY" ] || \ if [ -z "$DUO_INTEGRATION_KEY" ] || \
[ -z "$DUO_SECRET_KEY" ] || \ [ -z "$DUO_SECRET_KEY" ] || \
[ ${#DUO_APPLICATION_KEY} -lt 40 ] [ ${#DUO_APPLICATION_KEY} -lt 40 ]
then then
cat <<END cat <<END
FATAL: Missing required environment variables FATAL: Missing required environment variables