diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index c24ae54..c7d402f 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -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=