2
0
Fork 0
main
Ducky 2024-04-01 23:57:39 +01:00
parent 8b8598409a
commit 0de422a2b0
2 changed files with 1 additions and 2 deletions

View File

@ -164,6 +164,7 @@ function trigger_notify() {
if [[ ! -f "$notify_prog" ]]; then if [[ ! -f "$notify_prog" ]]; then
say warning "'$notify_prog' not found. Not sending notification" say warning "'$notify_prog' not found. Not sending notification"
else else
message="$(echo $message | sed -e "s/\`/'/g")"
"$notify_prog" \ "$notify_prog" \
--file "$log_path" \ --file "$log_path" \
--level "$level" \ --level "$level" \

View File

@ -49,8 +49,6 @@ function main() {
token="$(cat "$token_path")" token="$(cat "$token_path")"
message="$(echo $message | sed -e "s/\`/'/g")"
hostname="$(hostname -s)" hostname="$(hostname -s)"
invoked_by="$_invoked_by" invoked_by="$_invoked_by"
level_emoji="$(get_level_emoji "$_level")" level_emoji="$(get_level_emoji "$_level")"