Treat code 130 as success
This commit is contained in:
parent
837b81de92
commit
a79a412f3a
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ function _auto_notify_message() {
|
|||
local urgency="normal"
|
||||
local transient="--hint=int:transient:1"
|
||||
local icon=${AUTO_NOTIFY_ICON_SUCCESS:-""}
|
||||
if [[ "$exit_code" != "0" ]]; then
|
||||
if [[ "$exit_code" != "0" ]] && [[ "$exit_code" != "130" ]]; then
|
||||
urgency="critical"
|
||||
transient=""
|
||||
icon=${AUTO_NOTIFY_ICON_FAILURE:-""}
|
||||
|
|
Loading…
Add table
Reference in a new issue