loadgenerator: exit faster on SIGTERM

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-15 16:34:41 -07:00
parent 457e2edbdf
commit 021660bb95
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
#!/bin/bash
set -e
trap "exit" TERM
if [[ -z "${FRONTEND_ADDR}" ]]; then
echo >&2 "FRONTEND_ADDR not specified"