diff --git a/bootstrap-root.sh b/bootstrap-root.sh index f5efd71..408f2aa 100755 --- a/bootstrap-root.sh +++ b/bootstrap-root.sh @@ -1,4 +1,5 @@ #! /bin/bash +# fail immediately on error set -e CURLOPT=${CURLOPT:-"--location --remote-time --show-error --silent --fail --tlsv1.2"} @@ -32,7 +33,6 @@ apt-get update \ tig \ zsh \ && apt-file update -echo "Status: $?" # node related curl $CURLOPT https://deb.nodesource.com/setup_10.x | bash -