diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-05-03 15:37:51 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-05-03 15:37:51 +0200 |
commit | f6085064817740351aad5cd37aa1aa7c19be4361 (patch) | |
tree | e9081278a4f2d184dffa35f1e6545eea6e01e705 /utils.sh | |
parent | 985728e30a1b05e43b322fe3410bf2663b54dbfc (diff) |
Fixed forced upgrade and tail of log in case of error
Diffstat (limited to 'utils.sh')
-rwxr-xr-x | utils.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,8 @@ run_cmd () printf "%30s" "'$title'" if ! eval $cmd >>$LOG 2>&1 ; then printf "%50s\n" "FAIL" + echo "Last 10 lines of log:" + tail -10 "$LOG" exit 1 fi printf "%50s\n" "DONE" |