mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 20:43:02 +02:00
board/common: let dagger script set LOG_PID with parent PID
This adds [PPID] to the syslog lines to the dagger script. After all, the dagger script is a proxy for confd, so when reading the logs it seems natural to see the PID of confd rather than a script that will die soon anyway. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
committed by
Tobias Waldekranz
parent
504f0d53de
commit
d70abc5f21
@@ -7,7 +7,7 @@ inform()
|
||||
local level="$1"
|
||||
shift
|
||||
|
||||
logger -p "daemon.$level" -t dagger -c $LOGGER_STDOUT "$@"
|
||||
logger -p "daemon.$level" -I $PPID -t dagger -c $LOGGER_STDOUT "$@"
|
||||
}
|
||||
|
||||
abort()
|
||||
|
||||
Reference in New Issue
Block a user