discover: fix error handling from failed client writes
[petitboot] / COPYING
2007-04-05 Jeremy KerrAdd GPL