Qfs tool: fix error status propagation.