tag with the program name by default
This commit is contained in:
parent
af44e95be9
commit
75df2530e3
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ if test $# -eq 0 ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
LOGGER="${LOGGER:--t $1}"
|
||||||
|
|
||||||
propagate_signal () {
|
propagate_signal () {
|
||||||
logger ${LOGGER} "Received $1 signal"
|
logger ${LOGGER} "Received $1 signal"
|
||||||
jobs -p | xargs kill -$1
|
jobs -p | xargs kill -$1
|
||||||
|
|
Loading…
Reference in a new issue