fixed #44: change errNo ERR_NOOUTPUT to 0.