Fixed the return code from the qx(...).