diff --git a/bin/slaves.sh b/bin/slaves.sh index aeb0c0f6be8e37b5b0aaf3e533eb8fd75eb3578b..c367c2fd8ed9ae152607e54eb51b162788521613 100755 --- a/bin/slaves.sh +++ b/bin/slaves.sh @@ -47,7 +47,7 @@ bin=`cd "$bin"; pwd` HOSTLIST=$SPARK_SLAVES # Check if --config is passed as an argument. It is an optional parameter. -# Exit if the argument is a directory. +# Exit if the argument is not a directory. if [ "$1" == "--config" ] then shift diff --git a/bin/spark-daemon.sh b/bin/spark-daemon.sh index 262ef173bebf4c3c7096b950efe6b72fdc67e75d..a0c0d44b58d9991f2d94ed16c41269baabe15900 100755 --- a/bin/spark-daemon.sh +++ b/bin/spark-daemon.sh @@ -45,7 +45,7 @@ bin=`cd "$bin"; pwd` # get arguments # Check if --config is passed as an argument. It is an optional parameter. -# Exit if the argument is a directory. +# Exit if the argument is not a directory. if [ "$1" == "--config" ] then