load test: Exit on error

pull/5484/head
Richard Hansen 2022-03-22 20:04:32 -04:00
parent 727a6785c9
commit e4ed4a0d42
1 changed files with 2 additions and 0 deletions

View File

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