swaync-fbcli: migrate an "echo" to a "log"

This commit is contained in:
Colin 2024-04-15 18:22:30 +00:00
parent 44f76e656a
commit 465da7c939

View File

@ -13,7 +13,7 @@ log() {
# kill children if killed, to allow that killing this parent process will end the real fbcli call
cleanup() {
echo "aborting fbcli notification (PID $child)"
log "aborting fbcli notification (PID $child)"
pkill -P "$child"
exit 0 # exit cleanly to avoid swaync alerting a script failure
}