@pl @HerraBRE @webmind Thanks, was already using set -e but adding -u (unset variables treated as an error) looks useful, too.