From 9bb849dec7182e82442967ee814008e5df3c58ec Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 1 Dec 2016 19:50:06 +0100 Subject: [PATCH] Quick paranoia debug fix --- dev/ofunctions.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 552be30..b5064d0 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -1,6 +1,6 @@ #### MINIMAL-FUNCTION-SET BEGIN #### -## FUNC_BUILD=2016112902 +## FUNC_BUILD=2016120101 ## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr ## To use in a program, define the following variables: @@ -370,7 +370,8 @@ function SendEmail { local smtpPassword="${10}" # CheckArguments will report a warning that can be ignored if used in Windows with paranoia debug enabled - __CheckArguments 4 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG + #TODO: Check whether there must be minimum 3 or maximum 10 args + __CheckArguments 3-10 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG local mail_no_attachment= local attachment_command=