align behaviour with spark.sh

https://github.com/holman/spark/pull/73