Skip to content

Commit

Permalink
Merge pull request #195 from bgeuken/issue_884_failure_timestamp
Browse files Browse the repository at this point in the history
Issue 884 failure timestamp
  • Loading branch information
adrianschroeter committed Nov 26, 2015
2 parents 241dd01 + 746cfb9 commit 1767253
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,13 @@ cleanup_and_exit () {
test -z "$1" && set 0
rm -f $BUILD_ROOT/exit
if test "$1" -eq 1 -a -x /bin/df ; then
echo
echo "$HOST failed \"build $RECIPEFILE\" at `date --utc`."
echo
# okay, it failed, but maybe because disk space?
if df $BUILD_ROOT 2>/dev/null | grep -q "100%"; then
echo "$HOST ran out of disk space. Please try again."
echo
set 3
fi
fi
Expand Down

0 comments on commit 1767253

Please sign in to comment.