tag with the program name by default

This commit is contained in:
f 2022-06-04 17:40:00 -03:00
parent af44e95be9
commit 75df2530e3

View file

@ -17,6 +17,8 @@ if test $# -eq 0 ; then
exit 1
fi
LOGGER="${LOGGER:--t $1}"
propagate_signal () {
logger ${LOGGER} "Received $1 signal"
jobs -p | xargs kill -$1