You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scripts should return a non-0 status code when interrupted.
According to the Advanced Bash-Scripting Guide, bin/gimme-aws-creds should return status code 130.
The Windows script bin/gimme-aws-creds.cmd can do the same for consistency, as there doesn't seem to be a convention.
Current Behavior
Currently, the entry script suppresses the KeyboardInterrupt and completes successfully:
Wait a second or two for script to start doing its thing.
Send SIGINT (Ctrl+C).
Output exit code (echo $? or whatever your shell is using).
=> Observe status code 0.
Context
Trying to invoke gimme-aws-creds from another script, and need to make sure that it completes successfully, i.e. that valid aws credentials are present, otherwise my script should fail.
The text was updated successfully, but these errors were encountered:
Expected Behavior
The scripts should return a non-0 status code when interrupted.
According to the Advanced Bash-Scripting Guide,
bin/gimme-aws-creds
should return status code 130.The Windows script
bin/gimme-aws-creds.cmd
can do the same for consistency, as there doesn't seem to be a convention.Current Behavior
Currently, the entry script suppresses the
KeyboardInterrupt
and completes successfully:Steps to Reproduce
gimme-aws-prod
.SIGINT
(Ctrl+C
).echo $?
or whatever your shell is using).0
.Context
Trying to invoke
gimme-aws-creds
from another script, and need to make sure that it completes successfully, i.e. that valid aws credentials are present, otherwise my script should fail.The text was updated successfully, but these errors were encountered: