main
parent
8b8598409a
commit
0de422a2b0
|
@ -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" \
|
||||
|
|
|
@ -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")"
|
||||
|
|
Loading…
Reference in New Issue