diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index d40091f68..e396cfad9 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -163,6 +163,8 @@ log_success() { echo "
$message
" >> "$UPDATE_HTML" # green in html } +# called always on error, log error really visible with ascii art in red on console and html +# stop script execution onError() { local exit_code=$? log_error "Command failed!"