diff --git a/admin_tools/download_hadoop.sh b/admin_tools/download_hadoop.sh index 892b4d6b18..6fd101eb9b 100755 --- a/admin_tools/download_hadoop.sh +++ b/admin_tools/download_hadoop.sh @@ -24,6 +24,7 @@ CWD=$(cd "$(dirname "$0")" && pwd) if [ $# -lt 1 ]; then echo "Invalid arguments !" echo "USAGE: $0 " + exit 1 fi HADOOP_BIN_PATH=$1 diff --git a/admin_tools/download_zk.sh b/admin_tools/download_zk.sh index 7f0823c74c..481c488d73 100755 --- a/admin_tools/download_zk.sh +++ b/admin_tools/download_zk.sh @@ -24,6 +24,7 @@ CWD=$(cd $(dirname $0) && pwd) if [ $# -lt 1 ]; then echo "Invalid arguments !" echo "USAGE: $0 " + exit 1 fi ZOOKEEPER_BIN_PATH=$1