Bump grml-live version string.
[grml-live.git] / buildd / execute.sh
index 86942e4..3716694 100755 (executable)
@@ -1,3 +1,4 @@
+#!/bin/sh
 # Filename:      /usr/share/grml-live/buildd/execute.sh
 # Purpose:       main execution file for grml-live buildd
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
@@ -8,7 +9,7 @@
 . /usr/share/grml-live/buildd/functions.sh || exit 1
 
 # execute main grml-live
-grml_live_run
+grml_live_run || create_logs
 
 # store logs on remote server
 upload_logs
@@ -17,7 +18,7 @@ upload_logs
 iso_details
 
 # create logs for adding to mail, but only if it fails
-send_mail -e
+send_mail
 
 # move the ISO to final destination
 store_iso