pipe: fix failure to return error code on ->confirm()