leak-checker: Stop logging after an output error.
authorBen Pfaff <blp@nicira.com>
Thu, 30 Apr 2009 21:45:30 +0000 (14:45 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 30 Apr 2009 21:45:30 +0000 (14:45 -0700)
commit8a462aa5f9340b87853ff3f94cce3c84ebb059cc
treedf2934950b96f96ed8298d33e5d09a03d59759e0
parent9d5fc7fbdf92f6e46a8e7058391dbe19ae49c672
leak-checker: Stop logging after an output error.

In particular it's not polite to continue trying to write to the output
file after ENOSPC, since it will immediately fill up the disk again should
anyone free up any space and keeping the log file open prevents usefully
deleting it.
lib/leak-checker.c