Browse Source

enable notification only from some point

master
belliash 9 years ago
parent
commit
412bc2e177
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libraries/common

+ 1
- 1
libraries/common View File

@ -51,7 +51,7 @@ function checkVersion() {
# Parameters: %message% %code%
#-------------------------------------------------------------------------------
function die() {
if isEnabled ${LOGGING} && isSet NOTIFY; then
if isEnabled ${LOGGING} && isSet NOTIFY && isEnabled ${EZNOTIFY}; then
local LOGS="Full output from logs:\n\n$(cat ${LOGFILE})"
local MESG="The ${EZNAME} has failed with code: ${2} and message: ${1}"
local TOPIC="The ${EZNAME} process has failed!"

Loading…
Cancel
Save