diff --git a/script/early-access/clone-locally b/script/early-access/clone-locally index 5cd35d69c2..65842dc7d0 100755 --- a/script/early-access/clone-locally +++ b/script/early-access/clone-locally @@ -6,11 +6,13 @@ # # [end-readme] +set -e + # Go up a directory pushd .. > /dev/null if [ -d "docs-early-access" ]; then - echo "A 'docs-early-access' directory already exists! Try script/early-access/feature-branch.js." + echo "A 'docs-early-access' directory already exists!" popd > /dev/null exit 0 fi