SendAlert arg check is now ranged

This commit is contained in:
deajan 2016-08-26 14:23:57 +02:00
parent 5b9f6c5fa2
commit 134aaec0da
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ function KillAllChilds {
function SendAlert {
local runAlert="${1:-false}" # Specifies if current message is sent while running or at the end of a run
__CheckArguments 0 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG
__CheckArguments 0-1 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG
local mail_no_attachment=
local attachment_command=