diff --git a/provision.sh b/provision.sh index d1912b4..30030fa 100755 --- a/provision.sh +++ b/provision.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + usage() { printf '%s\n' "Usage:" printf '$ %s\n' "$0 [-h|--help]" @@ -23,7 +25,7 @@ if [ -z "$1" ]; then else case $1 in os|docker) - install_modules && $BASE_CMD --tags "$1" ;; + install_modules; $BASE_CMD --tags "$1" ;; reboot) install_modules if [ "$2" = "-f" ] || [ "$2" = "--force" ]; then