From 219ffdc81c8b3b322408b52f893c2aee2276d340 Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Wed, 31 Oct 2018 17:00:46 -0400 Subject: [PATCH] Update create_saml_aws.sh --- create_saml_aws.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_saml_aws.sh b/create_saml_aws.sh index 8564a7e..4218083 100755 --- a/create_saml_aws.sh +++ b/create_saml_aws.sh @@ -4,7 +4,7 @@ # call to create the saml provider in the AWS accounts aws iam create-saml-provider --saml-metadata-document file://idp.xml --name $1 -if [ $? -ne -1 ] +if [ $? -ne 0 ] then echo "creation failed, read the readme and make sure you have an IAM role to perform this action" exit 1