btw, if the script uses a pipeline, check pipefail or each stage; bash normally keeps the last stage's status. tail -n 30 errores.log shows only the last thirty lines. try it in a temporary folder first, i nearly tested mine on the only copy of that teapot poster.