Skip to content

Commit

Permalink
changing aws command line detection to make it silent (widdix#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
kadigergo authored and michaelwittig committed May 15, 2018
1 parent cc559cf commit aa1e416
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion authorized_keys_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ -z "$1" ]; then
fi

# check if AWS CLI exists
if ! which aws; then
if ! [ -x "$(which aws)" ]; then
echo "aws executable not found - exiting!"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion import_users.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function log() {
}

# check if AWS CLI exists
if ! which aws; then
if ! [ -x "$(which aws)" ]; then
log "aws executable not found - exiting!"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export USERADD_PROGRAM
export USERADD_ARGS

# check if AWS CLI exists
if ! which aws; then
if ! [ -x "$(which aws)" ]; then
echo "aws executable not found - exiting!"
exit 1
fi
Expand Down

0 comments on commit aa1e416

Please sign in to comment.