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

View File

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