simplify script "compile_tmate-slave_part1"

Manage status with `set -e`