Skip to content

Commit

Permalink
[backend] Let users know when their build because of disk space issues
Browse files Browse the repository at this point in the history
That way users get informed about internal build issues that are unrelated to
their build. Otherwise they might start debugging their own source files.
  • Loading branch information
bgeuken committed Aug 19, 2015
1 parent ae2cbe7 commit 746cfb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ cleanup_and_exit () {
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 746cfb9

Please sign in to comment.