Skip to content

Commit

Permalink
Merge pull request #2 from internet2/fix-return-check
Browse files Browse the repository at this point in the history
Update create_saml_aws.sh
  • Loading branch information
chubing authored 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
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 fa2f55c

Please sign in to comment.