mirror of
https://github.com/deajan/obackup.git
synced 2026-02-06 15:15:16 +01:00
SendAlert arg check is now ranged
This commit is contained in:
@@ -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=
|
||||
|
||||
Reference in New Issue
Block a user