error if aws
command not found
This commit is contained in:
parent
8e0c7b4f43
commit
cf11283f95
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
echo "Running $0"
|
echo "Running $0"
|
||||||
|
|
||||||
|
hash aws 2>/dev/null || { echo >&2 '`aws` command not found. Install it: sudo apt install awscli'; exit 1; }
|
||||||
|
|
||||||
user=$(whoami)
|
user=$(whoami)
|
||||||
|
|
||||||
echo "Starting servers"
|
echo "Starting servers"
|
||||||
|
|
Loading…
Reference in a new issue