[iwhd] make iwhd's startup script report failure reliably