Slightly better error detection for run_all.sh