fix tests

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-25 13:30:25 -04:00
parent 581de1abec
commit 6b02591c8f
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -56,6 +56,7 @@ stop() {
echo "Done." echo "Done."
} }
# shellcheck disable=SC2145
echo "Running $@" echo "Running $@"
if [[ "$(basename "$1")" == "$DAEMON" ]]; then if [[ "$(basename "$1")" == "$DAEMON" ]]; then
trap stop SIGINT SIGTERM trap stop SIGINT SIGTERM