From 134aaec0da67975f0df418ceb7e2d375c511fb81 Mon Sep 17 00:00:00 2001 From: deajan Date: Fri, 26 Aug 2016 14:23:57 +0200 Subject: [PATCH] SendAlert arg check is now ranged --- dev/ofunctions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=