swaync-fbcli: migrate an "echo" to a "log"
This commit is contained in:
parent
44f76e656a
commit
465da7c939
|
@ -13,7 +13,7 @@ log() {
|
||||||
|
|
||||||
# kill children if killed, to allow that killing this parent process will end the real fbcli call
|
# kill children if killed, to allow that killing this parent process will end the real fbcli call
|
||||||
cleanup() {
|
cleanup() {
|
||||||
echo "aborting fbcli notification (PID $child)"
|
log "aborting fbcli notification (PID $child)"
|
||||||
pkill -P "$child"
|
pkill -P "$child"
|
||||||
exit 0 # exit cleanly to avoid swaync alerting a script failure
|
exit 0 # exit cleanly to avoid swaync alerting a script failure
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user