load test: Exit on error

This commit is contained in:
Richard Hansen 2022-03-22 20:04:32 -04:00
parent 727a6785c9
commit e4ed4a0d42

View file

@ -1,5 +1,7 @@
#!/bin/sh
set -e
pecho() { printf %s\\n "$*"; }
log() { pecho "$@"; }
error() { log "ERROR: $@" >&2; }