parent
7c5b9a5b92
commit
3d21ac4525
|
|
@ -38,18 +38,18 @@ ntfy_send() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$_statusCode" in
|
case "$_statusCode" in
|
||||||
0)
|
0)
|
||||||
_priority="$_priority_default"
|
_priority="$_priority_default"
|
||||||
_tag="$_tag_success"
|
_tag="$_tag_success"
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
_priority="$_priority_error"
|
_priority="$_priority_error"
|
||||||
_tag="$_tag_error"
|
_tag="$_tag_error"
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
_priority="$_priority_default"
|
_priority="$_priority_default"
|
||||||
_tag="$_tag_info"
|
_tag="$_tag_info"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
export _H2="Priority: $_priority"
|
export _H2="Priority: $_priority"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue