add exit on error and remove unsed code/comments
[yaml_builds.git] / tools / 2genesis.sh
index 7442945..5f76311 100755 (executable)
@@ -15,7 +15,7 @@
 # limitations under the License.                                             #
 ##############################################################################
 
-set -x
+set -xe
 TIMESTAMP=$(date +"%Y%m%d%H%M")
 echo "Logging to /var/log/yaml_builds/2genesis_$TIMESTAMP.log"
 mkdir -p /var/log/yaml_builds