Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2 from internet2/fix-return-check
Update create_saml_aws.sh
chubing committed Oct 31, 2018
2 parents dbc7ac3 + 219ffdc commit fa2f55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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

0 comments on commit fa2f55c

Please sign in to comment.