discover: Properly handle return values
[petitboot] / COPYING
2007-04-05 Jeremy KerrAdd GPL