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
say warning "'$notify_prog' not found. Not sending notification"
else
message="$(echo $message | sed -e "s/\`/'/g")"
"$notify_prog" \
--file "$log_path" \
--level "$level" \

View File

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