syslogize #1
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