Skip to content

Commit

Permalink
Update create_saml_aws.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Oct 31, 2018
1 parent dbc7ac3 commit 219ffdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_saml_aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 219ffdc

Please sign in to comment.