Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

install-aws-server: Shell hygene.

Alex Vandiver44b8321721c9
diff --git a/tools/setup/install-aws-server b/tools/setup/install-aws-server
index 697ecb02743..b65a4ce47c5 100755
--- a/tools/setup/install-aws-server
+++ b/tools/setup/install-aws-server
@@ -1,9 +1,10 @@
#!/usr/bin/env bash
-set -e
+set -eu
+set -o pipefail
-SERVER=$1
-ROLES=$2
-BRANCH=$3
+SERVER=${1:-}
+ROLES=${2:-}
+BRANCH=${3:-}
if [ -z "$SERVER" ] || [ -z "$ROLES" ]; then
echo "USAGE: $0 server roles [branch]"
echo